MHN

Ask HN: How can we improve TUIs?

8 points by asdkhadsj·2689 days ago·Show in HN

I've got a problem. I love Terminal UIs, or at least I love the idea of them. For the last ~10 years I've lived in the terminal, Tmux, Vim and Kakoune were my loves. Over the recent year or so, I have grown tired of the plain UI - I long for more advanced UI features. Nothing crazy complex, just UI positions not bound to character sizes, variable character sizes, better underline supports, better animations and etc.

So with wanting all of this I've largely moved out of the Terminal and into other IDEs. It's been nice, and pretty. Yet I can't help but feel the Terminal offered me so much more.

So this morning I had the thought - could the terminal be improved? Could a new terminal be written, with similar ease of development to that of a TUI, but also more advanced features? Maybe a spec that translated basic TUIs into pretty drawn screen widgets?

So I ask you: Do you think TUIs could be improved to give modern "pretty" rendering and features, while also keeping the most of the simplicity of development and interaction that we all know and love with TUIs? How would you see this done?

Add a comment on Hacker News →
1 of 8 comments
  1. There's a lack of financial incentive to build TUI apps. It's a niche. It's awesome for power users: no lag, all keyboard driven, raw structured data. But businesses buy slack / trello / salesforce for swathes of people. That sort of thing doesn't happen if the following is simply limited to programmers / power users (and a cross section of those at that)

    I haven't seen any C++11+ wrappers for ncurses... until, recently: https://github.com/clangen/cursespp, https://github.com/Praetonus/Ncursescpp strange license.

    There are people who are on the forefront of terminal tech, examples are
    stuff by https://github.com/saitoha, https://github.com/mitotic/graphterm

    There is hyper: https://hyper.is/ It works on windows. But by then, you potentially have the lag time most terminal users want to bypass.

    For windows, maybe https://github.com/microsoft/terminal will encourage more terminal innovation by bsd/linux -> windows crossovers.

    On Linux, try this: https://sw.kovidgoyal.net/kitty/

    I wrote a book on tmux that briefly touches terminal stuff. I still get confused when terminals are miscolored and emit junk characters. There's a lot more going on behind a terminal than meets the eye: https://en.wikipedia.org/wiki/POSIX_terminal_interface#Gener...