Commit Briefs

Omar Polo

change parens style



Omar Polo

update README.md


Omar Polo

add keybindings to the manual


Omar Polo

rewrite the keybindings management

use a table to define all the keys and split actions into separate functions. It's cleaner to support multiple keys bound to the same action this way (like for e.g. PAGE_DOWN and C-v.)


Omar Polo

handy DEBUG variable

really handy for things like make DEBUG='-O0 -g' or to decomment it during development.


Omar Polo

const-ify


Omar Polo

bind ? to spawn `man fm'



Omar Polo

rewrite spawn to use varargs

it's seems neater than packing an array on the spot, we just do that inside spawn before calling execvp. If we get too many arguments, just abort. This also changes how the forking is handled: I set RVSEL only for the child and call disable_handlers() and endwin() preemptively to avoid possible races with our children.



Omar Polo

pedantic prototypes


Omar Polo

const-ify message fmt string


Omar Polo

typo


Omar Polo

mark message as printf-like