Commits
- Commit:
3323faaf68d2b9a935856c12b10d27df7be97bdb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
detect tab switch and force redraw in case
- Commit:
960b01da276db9c9b70d0756a6d30833d37174f4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bring back the ugly hack for the side window
- Commit:
41a9ae4060ba6215378a97251538791fd94605f6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve variable section
- Commit:
da979bfe39595722845fbe526eef5184b7ea7215
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync
- Commit:
4f0158a7dab57fbadefe5002e9af43b950e68121
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix end-of-buffer glitch
before, the cursor went one line after the end and glitch everything.
- Commit:
28eca2fc4a093ee751cf49c8087e6bb09a02ae44
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix cmd_scroll_line_up
buffer->current_line *IS NOT* the first line at the top of the
window...
- Commit:
7f963c410faa911376fc67144d2ca817d7cfeae8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kill ui_notify and export {v,}message
- Commit:
2b2d2872b6aacc66cdcc7af08ab684c12616c33d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move all cmd_* functions in their own file
this detangles definitely the commands from the ui. Various variables
and struct from ui.c needed to be exported, aside from that, no
functional changes.
- Commit:
a00b4c97e6dd47ac8ada094890b515cfe6744607
- From:
- Omar Polo <op@omarpolo.com>
- Date:
optimize redraw_window
don't redraw the page if no scrolling happened. There's still need to
``force'' the redraw sometimes, like after a resize or after toggling
olivetti-mode, so add a buffer->force_redraw flag for it.
- Commit:
f9560742eabf2ce27a6204047984be113db92642
- From:
- Omar Polo <op@omarpolo.com>
- Date:
disentangle cmd_scroll_line_up/down and ncurses
cmd_scroll_line_up and down are the fundamental functions called every
time there's a need to scroll the window. cmd_scroll_up/down calls
them in a loop, cmd_next_line and cmd_previous_line calls them too.
And so on.
These two functions, historically predates some of the abstractions of
the `struct buffer', and handle ncurses directly using wscrl and
print_line.
However, since dispatch_stdio calls redraw_tab anyway, there's no need
to update the window content here. (Well, wscrl + one print_vline *may*
be a bit faster than the loop over print_vline in redraw_window, but
we can optimise the latter later.)
This also (should) dis-entangle the cmd_* functions and ncurses
completely \o/
- Commit:
676794769a5aafd21ed8d1136dc98c42a538ae96
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve help page
- Commit:
0f7e6318a79e7c729d68083217fdca29b4966f65
- From:
- Omar Polo <op@omarpolo.com>
- Date:
expand abbrev.
- Commit:
3176451b7d9f77490576c31fa18fcdd7272efaf3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't mention config file as todo anymore
- Commit:
d2399aef06e77f8cdc1eae1dc0b6685089f53af2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
style
- Commit:
cc073cd200ed07b956f556e558d3af90e06a5c1a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo