←back to thread

320 points IroncladDev | 1 comments | | HN request time: 0s | source
Show context
imiric ◴[] No.43671000[source]
Ah, wonderful. It even mimics the empty rectangles when a font doesn't contain a glyph...

This is neat, but no, stop it. TUIs are an abomination of design that poorly mimic actually beautiful UIs. They look the way they do because of inherent constraints of the terminal, not because their authors particularly wanted them to look like that. So bringing that design language to a platform that does support rich UIs is artificially limiting what can be done on the web. It will also never truly have the same design as the terminal, unless you also want to avoid having any rich multimedia, interactivity, or use any web functionality introduced after 1995. At that point, your users would be better served by a text-only or Gemini site instead.

As an aside, I think TUIs are wrong in most cases. If you're building something like a text editor or process manager, sure, they have their place. Although even then I would argue that they shouldn't mimic the look and feel of GUIs, but be purpose-built for the app in question. But most terminal programs shouldn't use TUIs. They should accept command-line arguments to modify their behavior, run and do what the user asked, and then exit. This is how you make programs adaptable, composable, and scriptable. They can still be made interactive at runtime via a different e.g. "client" program, but forcing the user to manually interact with an interface that mimics GUIs is an awful experience.

replies(4): >>43671037 #>>43671146 #>>43671155 #>>43671324 #
santiagobasulto ◴[] No.43671324[source]
> TUIs are an abomination of design that poorly mimic actually beautiful UIs

My mother used to have an early "digital company" back in the 90s in Argentina. We are from a small town in the "Patagonia region"[0] and there was only 1 programmer in the whole town. The guy was a huge nerd that had spent some time studying in Buenos Aires.

Long story short, my mother hired this kid to build software for him. This is around 1992 so it was all DOS.

This guy built a full TUI software with CRUD operation, reporting, "cron jobs" (some stuff that I never understood but would run every night), printing, etc.

Until this day I remember the people working at my mother's company how they just FLEW over the software. It was all keyboard and hotkeys. They'd just go back and forth, print stuff, enter data, connect with the Fax machine, all with their keyboard in this black screen full of green, white and orange glyphs.

I NEVER found any other software that is SO powerful and efficient and user friendly as TUIs.

[0] The "true" Patagonia region in the East of Arg.

replies(3): >>43671535 #>>43671684 #>>43672693 #
imiric ◴[] No.43671535[source]
That's great, but keyboard shortcuts are not exclusive to TUIs. GUIs can be just as powerful in that sense, and most advanced web apps support keyboard navigation. My objection is mainly to the claim that TUIs are beautiful, and to the effort of bringing their design to the web. But this is ultimately down to personal preferences, and others may disagree.
replies(3): >>43671589 #>>43672702 #>>43672924 #
1. trollied ◴[] No.43672924[source]
You’re correct that modern web apps support keyboard shortcuts just fine. Unfortunately the reality of it is that the modern web is bogged down by the mess that is npm modules, react etc, and the majority of web apps are slow. Oldschool terminal apps you can just type away, and you know your keystrokes will just happen. The modern web? Urgh.

Don’t get me wrong, you can do it right, but most don’t bother with non- functional requirements “this should take 5ms” etc, so you just end up with pointless animations and transitions that stop useful work being done. This is often simple things like the tab order being wrong, or an AJAX request blocking the next thing you want to do.