carbonyl icon indicating copy to clipboard operation
carbonyl copied to clipboard

Any plan to add address bar or tab manager?

Open PragmaTwice opened this issue 2 years ago • 10 comments

Awesome, it is a very interesting and useful project.

I wonder if there are plans to add address bar or tab manager (or a command panel like vscode/vim) that would make the browser easier to use.

PragmaTwice avatar Jan 28 '23 12:01 PragmaTwice

Definitely in the roadmap! If you have any suggestions, feel free to leave them here. I'll try to ship something rudimentary this week.

fathyb avatar Jan 28 '23 16:01 fathyb

You could use tabbed for a simple tab bar like it was used by surf browser. Or even the simplest text row: [ Tab 1 X][ Tab 2 X][ Tab 2 X][+]

As a workaround, you can use GNU screen/tmux to multiplex Carbonyl instances in tabs.

EDIT: I have extended my chrome proposal in #62.

niutech avatar Jan 30 '23 00:01 niutech

I'll go for the text row.

piranna avatar Jan 30 '23 10:01 piranna

In the meantime, you can use tabbed terminal emulators: QTerminal or WezTerm.

niutech avatar Jan 31 '23 22:01 niutech

this can be emulated to some degree with tmux. such example can be the follofing key binding bind-key C-l command-prompt -p "url: " "new-window \; send-keys -t.- '$HOME/carbonyl.macos-arm64/carbonyl %1' Enter"

janantos avatar Feb 08 '23 12:02 janantos

I'll go for the text row.

Maybe use Alt + space to show and hide the address bar, tab manager and menues, all at once? :-) Although maybe in a terminal it would be a bit like going into fullscreen mode, F11... Offtopic, but is there any escape codes to set a virtual terminal app or screen or tmux going full-screen?

piranna avatar Feb 08 '23 12:02 piranna

When this future is implemented, can you please also add a command line option to disable the navigation bars. This option is not critical but it would help give people like me who use PWA from the terminal "more" screen space by removing controls that we do not need. It would also make PWAs feel like normal TUI programs which is a nice bonus.

Thank you btw. I've been really enjoying carbonyl.

clulece avatar Apr 29 '23 05:04 clulece

I've implemented tabs in Carbonyl Terminal using tmux nightly:

Carbonyl Terminal using tmux

niutech avatar Aug 22 '23 10:08 niutech

Could tmux be integrated as a library?

piranna avatar Aug 22 '23 18:08 piranna

@piranna You can easily integrate Carbonyl with tmux nightly yourself (see my tmux.conf), but I don't think it have to be bundled - it's yet another dependency and not everybody needs tabs.

niutech avatar Aug 22 '23 21:08 niutech