Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

God these explanations suck. Reminds me of the "two boats meet in an ocean" explanation of IRC.

A CLI (command line interface) just uses the streams to show and take in data.

A TUI uses escape codes or proprietary console commands (the latter on Windows, the former on most other things) to take control of the entire console window and display a user interface (hence Text User Interface or TUI). Usually mouse input is handled on modern systems too.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: