News for hackers. Stuff that matters.
Re:Stop Making TUIs by anon7000 on Saturday August 22, 2026 @02:37AM (#49397187)
> To get a good terminal UX, I think the answer to this is probably to throw all that compatibility mess away and redesign a modern terminal protocol that bakes in accessibility, regions, scrolling, selection, proper keyboard, etc.

Why not just… a GUI framework or layout that’s meant to be keyboard driven and information dense?

Re:Stop Making TUIs by jeroenhd on Saturday August 22, 2026 @03:56AM (#49397601)
TUIs run on any OS with minor patches to support quirks, GUI frameworks need a lot of work. TUIs don't need to follow any OS guidelines, cross-platform GUIs always look bad outside of the "main" platform.

If you're only targeting macOS/Windows/Gnome/KDE then the solution is easy: just grab a GUI control set and go ham.

Then there's remote access: you can spawn an X11 app through X forwarding and have a terrible laggy experience on Linux, you can use RemoteApps on Windows to have a good remote experience (but almost no other platform), you can use VNC to have an awful cross-platform experience, or you can use a TUI and have all the graphs and interactivity you need over a responsive, low-bandwidth connection on any combination of client+server.

Re:Stop Making TUIs by wiseowise on Saturday August 22, 2026 @04:43AM (#49397836)
> TUIs don't need to follow any OS guidelines, cross-platform GUIs always look bad outside of the "main" platform.

So because TUIs look universally bad, they're better than cross-platform GUI?

Re:Stop Making TUIs by notpushkin on Saturday August 22, 2026 @05:57AM (#49398191)
> cross-platform GUIs always look bad outside of the "main" platform

qBittorrent looks great on KDE, and would look great on macOS too if they used native icons (I’ve made a theme for that but was too lazy to install it when I was switching laptops). No idea about Gnome and Windows, but probably alright as well.

So, Qt can get you a long way. But you should of course adapt your app to platform conventions and guidelines.

Re:Stop Making TUIs by Dilettante_ on Saturday August 22, 2026 @05:10AM (#49397962)
>So because TUIs look universally bad

You can't stay engaged if the menus don't bleep and bloop at you and confetti rains down on every click? That's a personal problem. A minimal UI is not automatically a bad-looking UI.

Re:Stop Making TUIs by WA on Saturday August 22, 2026 @05:39AM (#49398092)
No, but I want to click to place the cursor in my 10 line prompt wherever I want. I want to double click to mark words. I want to use a scroll bar. I want to copy paste properly and not "23 lines pasted". I don’t want to read docs to find all keystrokes the TUI supports to achieve what I want.
Re:Stop Making TUIs by catlifeonmars on Saturday August 22, 2026 @08:18AM (#49398996)
You can handle mouse events in a TUI

https://ratatui.rs/concepts/backends/mouse-capture/

Re:Stop Making TUIs by yencabulator on Sunday August 23, 2026 @04:28PM (#49412309)
And I want to read proportional fonts, like just about anything except terminals already uses.
Re:Stop Making TUIs by pjmlp on Monday August 24, 2026 @04:28AM (#49416789)
Yeah, already in 1990, what an achievement. /s

https://en.wikipedia.org/wiki/Turbo_Vision

Re:Stop Making TUIs by catlifeonmars on Tuesday August 25, 2026 @12:03AM (#49428939)
I thought that UI looked vaguely familiar, and then I realized that the BIOS on many computers uses that design. I never really connected the dots.
Re:Stop Making TUIs by dirasieb on Saturday August 22, 2026 @02:03PM (#49402140)
>I want to click to place the cursor in my 10 line prompt wherever I want. I want to double click to mark words. I want to use a scroll bar. I want to copy paste properly and not "23 lines pasted"

sounds like your terminal emulator is just crap, terminal and iterm on mac just work

Re:Stop Making TUIs by WA on Saturday August 22, 2026 @04:14PM (#49403415)
iTerm2. Doesn’t work out of the box or something, but I’ll take a look at my config.
Re:Stop Making TUIs by maleldil on Monday August 24, 2026 @07:12AM (#49418104)
> not "23 lines pasted"

If you mean what Claude Code does when you paste longer text, you can just press Cmd-V again to show the full text.

Re:Stop Making TUIs by WA on Wednesday August 26, 2026 @03:57AM (#49445435)
Thanks. Kinda proves my point about TUIs having all kinds of hidden keyboard shortcuts.
Re:Stop Making TUIs by maleldil on Wednesday August 26, 2026 @04:50AM (#49445806)
You're definitely right about that. I couldn't tell you where I found out about this keybind.
Re:Stop Making TUIs by pwdisswordfishq on Saturday August 22, 2026 @04:59AM (#49397917)
> I think the answer to this is probably to throw all that compatibility mess away

> TUIs run on any OS with minor patches to support quirks

So, which one is it?

Re:Stop Making TUIs by Almondsetat on Saturday August 22, 2026 @06:36AM (#49398345)
Those two are not contradictory statements
Re:Stop Making TUIs by embedding-shape on Saturday August 22, 2026 @06:39AM (#49398360)
Maybe not, but they do sit on opposite end of an axis looking something like:

    TUI that runs on any OS |----------------| TUI without any compatibility mess
You really can't have both at the same time, either you have great compatibility (which will be a mess), or you don't, to varying degree of course.
Re:Stop Making TUIs by Almondsetat on Saturday August 22, 2026 @06:59AM (#49398440)
Basically any OS can install any compliant terminal emulator, meaning the cases in which you really have to patch your TUI for another OS are few and infinitely more manageable than GUIs
Re:Stop Making TUIs by Arainach on Saturday August 22, 2026 @07:02AM (#49398458)
Compliant with what? The proposal is "throw out all the compatibility and build some other kind of terminal" in which case nothing is portable.
Re:Stop Making TUIs by TylerE on Saturday August 22, 2026 @08:37AM (#49399131)
How so? The idea is you build all the OS specific stuff into the terminal, not into the programs running INSIDE the terminal. Think Infocom Z-Machine, at the ultimate level, although obviously emulating a full on virtual CPU is overkill.

In any case we can surely do better than emulating DEC hardware from 50 years ago.

Re:Stop Making TUIs by shevy-java on Saturday August 22, 2026 @08:53AM (#49399244)
It depends. If the OS can run e. g. ncurses, you have access to quite a lot of software here, such as htop. Though, I am not sure if it works on windows; but I think it works on OSX. Windows is very strange.
Re:Stop Making TUIs by zbentley on Saturday August 22, 2026 @11:22AM (#49400697)
I really think they are. The reason for terminals’ ubiquity is precisely their age, their age results in them standardizing and accumulating bizarre behaviors.

Even in the microcomputer era, standardizing behavior to where it’s literally everywhere someone might want it takes time (e.g. the browser compatibility wars). Re-standardizing terminal behavior is both chasing a way wider (in terms of the number of places folks expect terminals to work the exact same way) but shallower in feature complexity target compared to browsers, and would necessarily be replacing a widely adopted existing standard behavior. That’s a tall order—I am hopeful for and impressed by the efforts of folks like Hashimoto, but expectations here should be tempered.

Re:Stop Making TUIs by eviks on Saturday August 22, 2026 @07:33AM (#49398655)
> TUIs don't need to follow any OS guidelines, cross-platform GUIs always look bad outside of the "main" platform.

TUIs look bad everywhere, so that's strictly worse

Re:Stop Making TUIs by i_am_a_peasant on Saturday August 22, 2026 @03:33PM (#49403033)
TUIs would be great if they didn't have to render all text the same size, for me that's the main win with GUIs, you have total freedom with what you can do with your pixels.

I would definitely be pro minimalist unicode-character-themed GUIs for what it's worth. Where every graphical primitive is basically a unicode character, without the restriction on font size.

Re:Stop Making TUIs by eviks on Saturday August 22, 2026 @04:02PM (#49403286)
That's not total pixel freedom, you're still limited to text
Re:Stop Making TUIs by leephillips on Saturday August 22, 2026 @03:57PM (#49403238)
Some terminal emulators, for example Kitty, can render text at various sizes (within the same window).
Re:Stop Making TUIs by psychoslave on Saturday August 22, 2026 @08:47AM (#49399202)
There is not much difference between a TUI and a GUI once the premise is "let's start from scatch all other again for each applications". Sure then there is no guideline that comes between idea and implementation. But there is also no built-in accessibility, UX best-practices and many specificity of handling a vast experience of building something stable over a large period of time with many feedback from many different scenario.
Re:Stop Making TUIs by the__alchemist on Saturday August 22, 2026 @10:32AM (#49400167)
> TUIs run on any OS with minor patches to support quirks, GUI frameworks need a lot of work. TUIs don't need to follow any OS guidelines, cross-platform GUIs always look bad outside of the "main" platform.

Have you tried to write a GUI program lately? I suspect things may have changed. I can write one using Qt, EGUI, etc (Or many other options), and it will just work on Windows, Mac, Linux/Wayland, and Linux/X.

Basically, you write your application on top of a GUI framework that smooths over OS differences for you.

Re:Stop Making TUIs by zahlman on Saturday August 22, 2026 @12:52PM (#49401500)
> I can write one using Qt, EGUI, etc (Or many other options), and it will just work on Windows, Mac, Linux/Wayland, and Linux/X.

This is hard to square with the continuing obsession with Electron.

Re:Stop Making TUIs by d-us-vb on Saturday August 22, 2026 @06:57PM (#49404675)
I suspect the u ubiquity of electron persists more because maintaining both web and desktop interfaces is somewhat simplified, and as a corollary, you don’t need a separate JS and C/C++/QML team. Qt has gotten pretty good, but JavaScript and typescript are easier to hire.
Re:Stop Making TUIs by pjmlp on Sunday August 23, 2026 @12:41AM (#49406108)
Pay for cheap labour, get a cheap product.

I thought Claude could do anything nowadays.

Re:Stop Making TUIs by bionade24 on Sunday August 23, 2026 @04:56PM (#49412553)
QML is a Javascript Superset
Re:Stop Making TUIs by d-us-vb on Monday August 24, 2026 @10:20AM (#49420207)
But it runs on Qt, which is most certainly not.
Re:Stop Making TUIs by rtpg on Sunday August 23, 2026 @01:58AM (#49406363)
I think Qt is a bit different here because of Qt Quick etc but I've tried using "native" GUI frameworks a lot and ultimately the web DOM model is pretty nice for iterating easily.

Querying into the DOM and working off of that means you're not futzing about holding onto a bunch of component references for the one thing you might need later on.

Web layout is also pretty easy to just get right, native GUI frameworks have a different kind of layout model that is not as amenable to "arbitrary" data (at least at first blush).

the reactive programming model also works quite well. While there are native GUI frameworks that lean into reactive programming, they tend to be doing a bunch of weird stuff that cause other issues.

And at the end of the day, when you package something like a Qt app it still often ends up being quite chunky.

In the end tho... the simplest thing is if you do web stack you get a web UI _and_ your "native" GUI in one go. Build things once, not twice. Hard to argue against that when that's presented.

Re:Stop Making TUIs by 4k93n2 on Saturday August 22, 2026 @01:10PM (#49401625)
they wont work on android though. thats the main reason i started using more TUIs myself. i needed to be able to run a bunch of python scripts on linux, windows and android/termux. or if any of the linux phones ever matures, or sailfish, then the same scripts will run thereas well, probably without any modifications needed
Re:Stop Making TUIs by okanat on Saturday August 22, 2026 @05:31PM (#49404059)
KDE has a framework based on Qt's QML that works on Android. It is called Kirigami. They have written apps and even a complete Plasma Mobile using it. The apps work both on Android and Linux.

Mobile has significant paradigm changes that makes using both terminals and traditional GUIs harder anyway though. I do expect the need for completely different cross-platform libraries for mobile UIs.

Re:Stop Making TUIs by pjmlp on Sunday August 23, 2026 @12:54AM (#49406148)
Termux is not the right way to execute Apps on Android, Pydroid does the job.

Also, Qt does support Android development.

Re:Stop Making TUIs by 4k93n2 on Sunday August 23, 2026 @01:51AM (#49406334)
why is it not right? ive been using it for years and everything works just fine
Re:Stop Making TUIs by pjmlp on Sunday August 23, 2026 @02:20AM (#49406449)
It is trying to fit GNU/Linux into Android/Linux, on a model that has only worked so far because internal politics have prevented the replacement of Linux kernel with Zirkon.

The official NDK documentation on what is supported for NDK written code on non rooted devices, and the hurdles that Termux faces to keep running on standard Android images via PlayStore distribution, show why it isn't right.

Re:Stop Making TUIs by messh on Saturday August 22, 2026 @10:55AM (#49400424)
Html has also some of these properties, targeting the browser. Don't get me wrong. I do like TUIs, they are light weight and compose very nicely with the rest of the terminal (eg tmux). Also, i generally prefer just cli commands over tuis when possible.
Re:Stop Making TUIs by zbentley on Saturday August 22, 2026 @11:16AM (#49400635)
That ubiquity is the reason for the limitations of terminals/TUIs discussed in grandparent. Those two are not separable: they’re everywhere precisely because they target the lowest, oldest common denominator (teletype console behavior assumptions from the 1960s).

I expanded on this point nearby: https://news.ycombinator.com/item?id=49400697

Re:Stop Making TUIs by fsloth on Sunday August 23, 2026 @04:14AM (#49406979)
[delayed]
Re:Stop Making TUIs by ambigious7777 on Sunday August 30, 2026 @09:54AM (#49498687)
i appreciate still having my same tools when i switch from linux to windows devices
Re:Stop Making TUIs by inigyou on Saturday August 29, 2026 @01:04AM (#49487023)
Sending drawing commands to an X server is no more difficult than sending escape code sequences to a terminal. Simpler, even, because it's actually designed for that. And yet it's also more flexible. If your GUI framework of choice is limiting you, you're welcome to write one, just like you're already writing a TUI framework.
Re:Stop Making TUIs by Brian_K_White on Saturday August 22, 2026 @05:19AM (#49398007)
Countless reasons.

Invent a gui client environment that is universal, works the same way everywhere, over any kind of channel, and is already implimented and supported everywhere, and utterly weightless in all dimensions (ram/cpu/network), and then you might be able to ask that question without it being incredibly ignorant.

Today the closest you might be able to say is web/electron, which is gross on all counts. If anything the closest is X11, which is not remotely close enough.

That's why not just...

Re:Stop Making TUIs by teddyh on Saturday August 22, 2026 @08:00AM (#49398858)
Re:Stop Making TUIs by crostlybostly on Saturday August 22, 2026 @05:37AM (#49398088)
HTML/Javascript would like a word
Re:Stop Making TUIs by flossly on Saturday August 22, 2026 @06:04AM (#49398214)
we need a way to access locally running web apps without doing an ugly http://localhost:8022 and having to remember that.

I'd say http://localapps should give an overview of all web apps running locally, with links to them. Those links should follow a naming scheme where the hostname ends with `.local` or smth.

So: http://claudecode.local

Re:Stop Making TUIs by singpolyma3 on Saturday August 22, 2026 @08:16AM (#49398979)
Bring back installable PWA on desktop
Re:Stop Making TUIs by mr_olive on Saturday August 22, 2026 @07:00AM (#49398446)
Hah, I was dealing with this problem today.

My approach: Add entries for my localhost apps to `/etc/hosts`, and set up nginx as a reverse proxy.

Now when I go to `http://myapp.local` in the browser, `/etc/hosts` tells it to go to `localhost:80`. The http server sitting there knows which port to send the request to. I also made a systemd service that starts nginx automatically.

Now I have meaningful URLs for local apps, and I don't have to remember which one is listening on which port.

Re:Stop Making TUIs by fc417fc802 on Saturday August 22, 2026 @06:32AM (#49398337)
Won't that be cluttered by various random processes listening via 0/0? Perhaps we need a standardized service that web apps can register with.
Re:Stop Making TUIs by antonvs on Saturday August 22, 2026 @09:19AM (#49399483)
> I'd say http://localapps should give an overview of all web apps running locally, with links to them.

Malware will thank you.

Re:Stop Making TUIs by iskra on Saturday August 22, 2026 @10:23AM (#49400055)
Rather than typing http://localhost:8022, name each app and put them behind one local proxy:

1. In /etc/hosts (or dnsmasq): 127.0.0.1 ourapp.test 2. Caddy in front: ourapp.test { reverse_proxy localhost:8022 }

Caddy auto-provisions local certs, so you get https://ourapp.test, no ugly ports and no "not secure" prompt.

For the overview idea: a tiny local dashboard that scans common dev ports (3000, 5173, 8080...) and lists each running app by name is a ~100-line utility. This is exactly the kind of small tool I build, happy to make a quick version for you.

Re:Stop Making TUIs by flossly on Tuesday August 25, 2026 @07:12AM (#49431912)
Cool! I'd say we need a big linux distro to buy into it, so that it provides it's config-panel and package manager UI in this format.
Re:Stop Making TUIs by NBJack on Saturday August 22, 2026 @10:21AM (#49400038)
Definitely not weightless. So much bloat has been dedicated to various frameworks for it, and modern browsers are notorious for how much RAM they require. I'm particularly reminded of this each time I try to visit websites on one of my older Raspberry Pis. You are just pushing much of that complexity and overhead to the client.

That same Pi won't even blink at a local TUI.

Re:Stop Making TUIs by Brian_K_White on Saturday August 22, 2026 @07:56PM (#49405010)
Are you insane?

No just ignorant most likely. I can see how a child might think that an http/html session qualifies as providing all the same utility of a tty. Well it does not remotely by orders of magnitude.

I already said in the comment to begin with: "The closest you could say is web/electron, which is gross on all counts."

Re:Stop Making TUIs by trueno on Saturday August 22, 2026 @06:06AM (#49398221)
there's a million gui frameworks under the sun and i still haven't found one that feels like what everyone has been asking for:

good dx, cross platform, fast, not ugly.

pick i dunno 2 or 3.

tui's get to check 2 or 3 of these just like any other gui library. somehow there still isn't a silver bullet here.

now i personally don't build tuis but guake style dropdown simple command and i have some other thing someone made open immediately running in ghostty? hell yea. with that said yes there are some stupid tuis out there that are anything but simple.

Re:Stop Making TUIs by singpolyma3 on Saturday August 22, 2026 @08:14AM (#49398965)
Except web. Which inexplicably got all of these when no one was looking
Re:Stop Making TUIs by TylerE on Saturday August 22, 2026 @08:38AM (#49399134)
Not fast.
Re:Stop Making TUIs by zbentley on Saturday August 22, 2026 @11:26AM (#49400730)
Not “not ugly” either. The flexibility is too high and standardization of UX is too low. Technically, we’re missing adoption of default standard toolkits like swing or GTK, and politically a11y/compliance checkers are a far cry from something like the HIG of old.
Re:Stop Making TUIs by singpolyma3 on Saturday August 22, 2026 @09:30AM (#49399584)
How so?

You can make slow things with it of course but it's not inherent.

Re:Stop Making TUIs by psychoslave on Saturday August 22, 2026 @08:56AM (#49399261)
That depends what is build and how. Granted that a modern web browser is indeed an order of magnitude heavier than an OS, once that ticket is paid anyway, one can built very far, without relying on any additional bloat that contemporary web frameworks puts on top of it. There is not that much more data to send though HTTPS to bring a far more convenient UX than what raw text bespoke tweaks can offer over SSH.
Re:Stop Making TUIs by pjmlp on Monday August 24, 2026 @04:34AM (#49416840)
Fast and good DX, not really, unless we are comparing it to command line tools, instead of 4 GL and RAD tools from the 1990's.

Especially when I keep bumping into Electron apps.

Re:Stop Making TUIs by barnabee on Saturday August 22, 2026 @08:45AM (#49399183)
Agreed. This is exactly what I want, ideally with components and libraries and panels and data shareable and extendable between applications.

The closest in spirit is Probably something like Dear ImGui[0] and the ecosystem of components and apps built with it, but it's not quite there for me. Something is missing.

[0] https://github.com/ocornut/imgui

Re:Stop Making TUIs by tyre on Saturday August 22, 2026 @09:08AM (#49399378)
charm.sh builds many such things. I love them and their personality.
Re:Stop Making TUIs by christophilus on Saturday August 22, 2026 @09:08AM (#49399380)
It’s trivially easy to run a TUI in a container. Not so much with GUIs. And, since I run as much as possible in containers, and as little as possible on my host machine, I much prefer TUIs.
Re:Stop Making TUIs by yencabulator on Sunday August 23, 2026 @04:30PM (#49412323)
Wayland runs over a UNIX domain socket you know.

And if you meant "virtual machine" or "cloud" by saying "container", `waypipe ssh myhost`.

Re:Stop Making TUIs by pjmlp on Monday August 24, 2026 @04:29AM (#49416800)
It is as easy as any X Windows or RDP connection.
Re:Stop Making TUIs by ziotom78 on Sunday August 23, 2026 @06:58AM (#49407815)
BearLibTerminal might be something on this line, although its purpose is mainly for developing rougue-like games. It simulates a terminal in a GUI with a high-level API

http://foo.wyrd.name/en:bearlibterminal

Re:Stop Making TUIs by joshka on Sunday August 23, 2026 @11:19PM (#49414867)
yeah, something along those lines - but more robustly defined.