Re:Urwid - Console user interface library for Python
by leloctai on Saturday April 17, 2021 @10:42PM
(#26849373)
I never get these libraries. If you want a GUI, why not just use a real GUI library? Are these simpler to use? Is there an example of TUI that shouldn't be replaced with proper GUI or normal CLI?
Edit: Now that I think about it, a good example of TUI would be htop.
Re:Urwid - Console user interface library for Python
by Galanwe on Sunday April 18, 2021 @01:45AM
(#26850091)
I feel like there's a _spectrum_ of pros/cons in running a GUI versus pure command line.
Command line is the most practical for me, since I spend 99.9% of my time there, and I rarely have an X session anyway on remote server.
Sometimes, I have a need for something more graphical say to look at a git graph. Spawning an X session and running a full blown GUI would be possible but it's too much hassle for that use case IMHO. TUI is a nice in-between.
A simpler model is available with https://jwlodek.github.io/py_cui-docs/
If I'm understanding correctly, these just provide additional niceties and is fully usable without them.
Edit: Now that I think about it, a good example of TUI would be htop.
Command line is the most practical for me, since I spend 99.9% of my time there, and I rarely have an X session anyway on remote server.
Sometimes, I have a need for something more graphical say to look at a git graph. Spawning an X session and running a full blown GUI would be possible but it's too much hassle for that use case IMHO. TUI is a nice in-between.