Commits


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.


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.


added olivetti-mode!


added about:about, about:blank and about:help pages


add new-tab-url config to specify the default url for new tabs


add fill-column config knob


start to implement `set' in config


config: implement "prefix/cont"


move all styling to defaults.c i.e. don't hardcode text attributes


link the parser in the build and: * add some flags * document them * move the customizable stuff to defaults.c


rename: s/window/buffer (but not always) this aims to solve (albeit only partially) the confusion between telescope' ``struct window'' and ncurses WINDOW. It also brings some more emacs-like nomenclature, which may be a good thing.


ask to save a page when it can't be rendered it's good for thing like images and text with weird encodings.


moved commands def to their own file and made the cmd_* functions public


style(9)


change some include <> → "" and reorder