Commits
- 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
- Commit:
74ca8ef4a1144542be2b298f66c90d3f1497e3cc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
document the configuration file
- Commit:
2dd1e060174c79bfd4297a9cb6ba19c9822462cb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
last improvement to the suggested style line.quote
- Commit:
a2955ed531d4cc41d54cab18c8cc171848f6a5a3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
change suggest prefix/cont for line.quote
BOX DRAWINGS HEAVY VERTICAL (┃) seems way cooler than RIGHT POINTING
GUILLEMET (»)
- Commit:
2106687ba9d15432950e0c944d83ddf59d4bdbc5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
always check if fill-column is greater than 0
- Commit:
dca97b00b68a4cfe890a4a9d3a9a9dbc004ebb1d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add config file in FILES section
- Commit:
708fab48ee84dc4633e44992391d551ec06a0930
- From:
- Omar Polo <op@omarpolo.com>
- Date:
grammar