logoalt Hacker News

firesteelrainyesterday at 2:39 PM6 repliesview on HN

Can you explain TUI? I have never heard this before


Replies

Bjartryesterday at 2:47 PM

Terminal User Interface, contrasting with a Graphical User Interface (GUI). Most often applied to programs that use the terminal as a pseudo-graphical canvas that they draw on with characters to provide an interactive page that can be navigated around with the keyboard.

Really, they're just a GUI drawn with Unicode instead of drawing primitives.

Like many restrictions, limiting oneself to just a fixed grid of colored Unicode characters for drawing lends itself to more creative solutions to problems. Some people prefer such UIs, some people don't.

show 2 replies
GCUMstlyHarmlsyesterday at 2:54 PM

Eg: lazygit https://github.com/jesseduffield/lazygit?tab=readme-ov-file#... https://github.com/sxyazi/yazi https://github.com/darrenburns/posting or I guess Vim would be a prominent example.

Peoples definitions will be on a gradient, but its somewhere between CLI (type into a terminal to use) and GUI (use your mouse in a windowing system), TUI runs in your terminal like a CLI but probably supports "graphical widgets" like buttons, bars, hotkeys, panes, etc.

show 1 reply
ses1984yesterday at 2:41 PM

Terminal UI.

booleandilemmayesterday at 3:10 PM

It's definitely an acronym that got popular in the last year or so, though I'm sure there are people out there who will pretend otherwise. I've been in the industry 15+ years now and never heard it before. Previously it was just UI, GUI, or CLI.

show 3 replies
KPGv2yesterday at 2:54 PM

[flagged]

show 4 replies