Commit Briefs
handle_maybe_save_page: prefill with the path
improve the download procedure by pre-filling the minibuffer with /tmp/<file-name>. At the moment ``/tmp/'' is hardcoded. Idea from a conversation with hurricane, thanks!
add tab-bar-show option to control the tab bar rendering
If tab-bar-show is -1 hide the tab bar permanently, if it's 0 show it unconditionally. If it's 1, show the bar only when there is more than one tab.
simplify ncurses window setup
Don't bother computing the correct initial sizes for the windows, just call rearrange_windows before the event loop.
change only the title, not the icon too
ESC]0;stringBEL -- Set icon name and window title to string ESC]1;stringBEL -- Set icon name to string ESC]2;stringBEL -- Set window title to string via https://tldp.org/HOWTO/Xterm-Title-3.html
add autosave timer for the session
This is achieved by calling `autosave_hook' in interesting places, like new_tab or free_tab. It'll set up a timer to later persist the session. This is particularly useful to avoid loosing tabs on the event of a crash or unexpected system halt, or other similar event.
replace TAILQ_EMPTY/INSERT_HEAD/TAIL dance with a single TAILQ_INSERT_TAIL
Now that all the queues are correctly initialised, there's no need for that dance.
new_tab: allow to add the tab after a current one
this allows cmd_push_button_new_tab to open the new tab right *after* the current one, instead that always at the end.
fix redirect & history
the reload command doesn't push the current url to the history anymore.