So, regarding the idea of a 'new tab page', here is a proof of concept. It just opens bookmarks on a new tab right now, but if you agree this is worth persuing, I can try to work on a preference to set this to any url specified in dillorc.
--- uicmd.cc Thu Apr 4 20:56:39 2024 +++ uicmd.cc Sat Apr 6 11:58:09 2024 @@ -775,6 +775,8 @@ a_UIcmd_set_location_text(new_bw, URL_STR(url)); BW2UI(new_bw)->focus_main(); } else { + DilloUrl *url = a_Url_new("dpi:/bm/", NULL); + a_Nav_push(new_bw, url, NULL); BW2UI(new_bw)->focus_location(); a_UIcmd_set_buttons_sens(new_bw); }
Thanks. I think is a useful feature, but we should allow the current behavior to be kept as it is. In particular, it should be possible to hit Ctrl-T and begin writing a new URL right away, without loading any page.
I believe it is possible with fltk to pre-select the url text, so you can start typing right away. I have not figured out how to do that yet. If anyone can offer insight, it would be welcome. Maybe we could have a pref named 'new_tab_page', and if it's undefined, the default blank tab behavior would remain. Otherwise the user defined url would be loaded on new tabs. Regards, Alex