by begoon on 3/23/25, 1:27 PM with 52 comments
by cranium on 3/26/25, 9:07 PM
Then I found Textual (Python library, https://textual.textualize.io/) which feels like its modern and prettier child. Not gonna lie, it's still not a turnkey solution that transformed my clumsy scripts into a beautiful TUI without work but it's close!
by SoftTalker on 3/26/25, 7:37 PM
by degrees57 on 3/26/25, 7:44 PM
by codr7 on 3/27/25, 1:06 PM
That being said, if you're doing something less involved, controlling the terminal via ansi escape sequences is not rocket surgery.
https://en.wikipedia.org/wiki/ANSI_escape_code
https://github.com/codr7/sharpl/blob/main/src/Sharpl/Term.cs
by bashmelek on 3/26/25, 10:26 PM
by eadmund on 3/27/25, 2:44 PM
This sets the document at a particular point in time … in a lot of ways a better point in time.
I really miss the mid-90s computer scene. Things worked, often well, and in comparison to today they were so low-latency!
by matt3210 on 3/26/25, 9:53 PM
by jmclnx on 3/27/25, 2:30 PM
Ages ago on a mini I use to program, there was a very simple library I could call to format a screen. You told it modifiable field type and its text plus position on the screen. The screen was fixed at 80x24 plus no popups.
I wish there was a simple wrapper for curses like that :)
In the DOS Days, zortech c had a nice set of functions for screen input, disp_*, those were easy for my simple mind to understand to.
by MisterTea on 3/27/25, 2:31 PM
What I would like is a (n)curses library that uses a graphics back end instead of a TTY, preferably written in Go. I want a GTUI (Graphical-Text User Interface 8-)
Side note, Anyone know a site that curates a list of TUI designs? And not just good ones but examples of bad and weird.
by didgetmaster on 3/27/25, 2:01 AM
by sivanmz on 3/27/25, 10:31 PM
by alanjay on 3/27/25, 2:24 PM
by mouse_ on 3/23/25, 1:29 PM
by Jotalea on 3/27/25, 6:12 PM
by lepicz on 3/27/25, 6:14 AM
(there's usually delay between Esc taking action, one should press it once and then wait a second until it takes effect)