Commits


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.


move more stuff outta telescope.c


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


move load_url_in_tab, switch_to_tab, new_tab{,_id} to telescope.c


wrap long lines


simplify condition


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.


don't start if the keymap is empty


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.


initialize all the queues


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.


initial support for gopher item type 7


libevent is already included by telescope.h