logoalt Hacker News

raincoletoday at 7:03 AM1 replyview on HN

TUI apps are only platform independent if you make them so.

GUI apps are only platform independent if you(r framework) make them so.

It's a quite common illusion that TUI apps are "automatically" platform independent. Even knowing which terminal emulator intercepts which shortcuts and how they handle width change, control character, mouse events, images, etc and design around them is not a trivial task.

On the other hand, making platform independent GUI apps haven't been easier. Just use Electron. Yes, performance blahblah, but thousands of Electron apps work on millions of machines just fine.


Replies

dzikimariantoday at 8:08 AM

They don't work fine. I run lot's of TUIs because they are snappier. You may bury this problem with money buying 64gb laptop, but that facade falls as soon as you launch local LLM and discover there's no space left for Spotify.

show 1 reply