Live data from Hacker News

Why TUIs are back

wiki.alcidesfonseca.com

341–350 of 443 posts

Re: Why TUIs are back

#341

There is only so much rounding of borders you can do in the terminal! On a 16” MacBook, you can’t have Activity Monitor take up less than about 2/5 of the width of the screen! There is so much padding around every single element. I don’t need pretty buttons, I need usability and readability. Without having a 50” display!

Somewhere along the way everything got dumbed down and all the info removed. It’s some condescending ‘so dumb ppl can take it in’ marketing bs I hear from time to time. And it sucks! I also doubt it’s true. Fashion be fashion.

Re: Why TUIs are back

#343
post #212

Earlier quoted context omitted.

Are the available FOSS cross-platform frameworks really not that good? There's at least Qt, GTK, umm, and, I guess Juce and wxWindows, right? Oh, I see there are more: https://en.wikipedia.org/wiki/List_of_platform-independent_G... Can you explain what's deficient about the first two I mentioned?

> Qt Arcane build system. I mean, I guess it technically supports CMake these days, but I have never been able to get anyone else's Qt project to build without much gnashing of teeth. Emulated native widgets try for pixel-perfect, but tend to feel wrong somehow. > Gtk Outside of a Linux/Gtk native environment, Gtk applications are awful . Take GIMP on macOS, for example: it's had window focus issues (export dialog ge…

[deleted]

Re: Why TUIs are back

#344
post #232
post #46

Earlier quoted context omitted.

Unfortunately, remapping escape to caps lock can lead to serious friction if you have to work with different laptops a lot, like I do. The muscle memory gets in the way a lot.

Ctrl-C also works.

No, that's different: https://vi.stackexchange.com/a/20028

Re: Why TUIs are back

#345

There are a lot of points in there that are just generally bad in modern applications – e.g. UI inconsistencies, lack of automation and general configurability (shared ways to handle windows, layouts, keyboard shortcuts, etc.). I think it’s fair to say these things are just hugely lacking in modern operating systems. Linux might come close, but only with lots of tinkering. macOS is clearly lost and degrading now, and…

Windows has a hot key control for input and display of keyboard shortcuts https://learn.microsoft.com/en-us/windows/win32/controls/hot...

Re: Why TUIs are back

#346
In any course, if the UI does not make any sense, the project should be failed.

Failing projects over bad UI teaches fear, not design. Good interfaces come from iteration and feedback - which is exactly what user-centered design is about

Re: Why TUIs are back

#347

The diagnosis for GNU/Linux is better than I expected but I think is still incomplete. Yes, you have two major toolkits (GTK+ and Qt) and many minor ones (most of which wrap one of the majors). Qt is proprietary but also available under a free software licence, but what if you don't want that that complexity? It feels like modern GTK+ is less of a cross-platform toolkit and more of a runtime layer for libaidwaita and…

I wrote bindings for gtk, it's 16kb of text. I imagine riir of curses will be much more mork.

Re: Why TUIs are back

#349

Earlier quoted context omitted.

Are the available FOSS cross-platform frameworks really not that good? There's at least Qt, GTK, umm, and, I guess Juce and wxWindows, right? Oh, I see there are more: https://en.wikipedia.org/wiki/List_of_platform-independent_G... Can you explain what's deficient about the first two I mentioned?

GTK 3 hello world is 150-200mb. They really messed up since GTK 2 was 30mb (like macOS AppKit).

GIMP itself is 62MB on my host, I'm not sure what kind of hello world you're building that's 3x that size.

Re: Why TUIs are back

#350

I really don't get terminal UIs that try to rebuild GUI-like functionality. Don't we think that computer interfaces should get better? We're not limited to a grid of characters to pretend to draw lines and shapes with anymore. You can't even display an image in a terminal without a non-standard terminal like Kitty or iTerm. It's just a shame that we don't have a great cross-platform, streamed, UI system. The web is g…

> really don't get terminal UIs that try to rebuild GUI-like functionality.

Because it's easy to get things done for a TUI, but if I create a proper GUI, my codebase is suddenly more complex. And it's not like there's a solid, reliable GUI toolkit that I can use, they're all riddled with different bugs and caveats.

> Flutter's ok

If you ignore the absolute nightmare that is building applications in Flutter. Even Flutter itself isn't really designed to be compiled by anyone (although, in practice, your distro will shield you from this issue).

Post reply on HN