Preferences


I was looking for python TUI libraries recently. I got turned off this one due to the dependencies.

A simpler model is available with https://jwlodek.github.io/py_cui-docs/

The long list of optional dependencies listed on the page?

If I'm understanding correctly, these just provide additional niceties and is fully usable without them.

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.

Remote SSH is one reason. Another reason is that TUIs are generally easier to create and maintain than GUIs, especially cross-platform.
also a good tui is hyper efficient
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.

This item has no comments currently.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal