Remix.run Logo
JoshTriplett 2 hours ago

You know what's awesome about TUIs? They live in a tab in my terminal. 95% of the time, my system has three windows open: terminal, browser, Signal.

Please, make more TUIs and web apps, so they can live in my terminal or my browser.

walrus01 2 hours ago | parent | next [-]

Additionally, I can with very high confidence run TUI software inside an ssh session to one of my headless machines, and then further within gnu screen or tmux detach and later resume a session with everything I was doing. Even if I switch from my laptop to my desktop, or want to leave a bunch of stuff waiting for a week and come back to it later.

Once you get the key bindings for screen or tmux thoroughly memorized it's very easy.

octocop 2 hours ago | parent | prev | next [-]

I was going to post this but you beat me to it. I think we need the folks whom do not enter the terminal to start using it instead of the other way around.

Gud an hour ago | parent [-]

Don’t be so sure about that..

ludwik an hour ago | parent | prev | next [-]

Why this is preferable? I would rather have the apps I use represented as a list of apps in my system (drawing on a couple of decades of established UX conventions for how they are displayed and how I can interact with them), the web content I'm reading represented as tabs in my browser, and my terminal sessions represented in my terminal. You present the destruction of this simple separation of concerns as a benefit, but don't explain why it is one.

croon an hour ago | parent [-]

If age of conventions is a valuable metric, TUIs have way more. The keyboard hasn't change noticeably, and I can work way faster between separate windows/panes in a terminal and tmux, than in various GUI windows, where mouse focus dictates when I can start inputting.

While a mouse can theoretically use all pixels of a screen, in practical terms a keyboard has a way larger input space than a mouse, and if I can keep both my hands on the keyboard, I can work much faster.

At least that's my experience as a (starting) greybeard.

8cvor6j844qw_d6 2 hours ago | parent | prev | next [-]

Bubble Tea [1] is my favorite for one-off throwaway stuff in terminal. Wish [2] to make it available over SSH.

[1] https://github.com/charmbracelet/bubbletea

[2] https://github.com/charmbracelet/wish

underdeserver 2 hours ago | parent | prev | next [-]

So you have a cluttered list of terminal tabs instead of a cluttered list of windows.

But with a worse UX?

lelanthran 41 minutes ago | parent [-]

This is the thing - my window manager can manage windows just fine. I suppose you can make the argument that managing multiple terminals in a tab is a better experience than managing multiple windows in my window manager, but that depends heavily on the terminal being used and the window manager being used.

As a devils advocate in response to all the comments claiming TUIs are fine, maybe consider TUIs mostly do not come with many of the advantages of using a terminal CLI app - you can't pipe data into them, out of them, spawn them and collect the output, etc like you can with the usual stuff you run in a terminal.

IOW, they are a reduced functionality of a GUI - resizing works poorly, scrolling works poorly, UI affordances are poor (sure, you can grey out a button, but drag-n-drop hardly ever works between your various terminal tabs, and the smallest UI element is a full character block, unlike a GUI where you can have indicators that are smaller than a character, mini-windows, etc), lack of widgets, etc.

The lightweight argument is not so good either - look at Claude Code, after all. If you want lightweight GUIs, you can do that too.

The only argument that stands is the ssh one, but if working via a remote connection, I'm not going to want a full functionality application anyway - why would I prefer a wordstar/wordperfect interface to a complex document over a GUI interface? For simple documents, sure, TUI all the way, but when I have multiple panes (outline, minimap, status bars, toolbars, etc), it performs poorly in a TUI.

TUIs are making a resurgence, sure, but only in the context of developers and development.

benj111 an hour ago | parent | prev | next [-]

>or my browser

But then a load of others will complain about electron apps.

Further you then have an os within an os. You need to remember to look in your bookmarks, not your start menu. And you're basically throwing away the window manager too.

thomasfromcdnjs 2 hours ago | parent | prev | next [-]

I built "ssh sshfighter.com" recently, enjoy!

fragmede 2 hours ago | parent [-]

Mine's funky.nondeterministic.computer

thomasfromcdnjs 2 hours ago | parent [-]

So great =D

boxed 2 hours ago | parent | prev | next [-]

Couldn't you then just vibe code some window manager app that throws a bunch of your stuff into a tabbed window? Seems like the same thing.

walrus01 2 hours ago | parent | next [-]

> Couldn't you then just vibe code some window manager app

My reaction to this is basically about the same as the fictional Ivan Chesnokov

(beware, crude language, profanity, etc)

https://m1-garand-rifle.com/ivan-chesnokov.html

duskdozer 2 hours ago | parent | prev | next [-]

How would that be any better though?

boxed an hour ago | parent [-]

If the point is only that "terminal good because tabs" then that solves that problem

benj111 an hour ago | parent | prev [-]

It already exists. Tabbed by suckless.

AtHeartEngineer 2 hours ago | parent | prev [-]

and music