5 ms·
Author here. Fair enough, but how common is the TUI term anyway? I've seen it in a few places, but it doesn't seem to be as generalized as GUI.
by jmmv 6y ago
Author here. Fair enough, but how common is the TUI term anyway? I've seen it in a few places, but it doesn't seem to be as generalized as GUI.
- MaxBarraclough 6y agoA valid concern. Perhaps Unit-testing an interactive command-line app? (I'd favour command-line over console to avoid any possible confusion with games consoles.)
- jmmv 6y agoHmm, maybe. That's why I added the "text editor" suffix to the title, to be specific about what I was referring to. "Interactive command-line app" could also be misinterpreted because any CLI that asks for user input on a line-oriented manner (e.g. a REPL) would qualify, right?
- MaxBarraclough 6y ago> I added the "text editor" suffix As it's pretty vital information I don't think it belongs in a subheading, which may be chopped when the post is submitted to a site like HN. > any CLI that asks for user input on a line-oriented manner (e.g. a REPL) would qualify, right? That's true, but it's more specific than console app. It would be a bit cumbersome to restate what TUI means in less obscure terms, although it wouldn't be the longest title known to man: Unit-testing a full-screen interactive command-line application.
- rualca 6y ago> That's why I added the "text editor" suffix to the title, to be specific about what I was referring to. That was not good not clear, as there are command line text editors like ed. https://en.wikipedia.org/wiki/Ed_(text_editor) https://en.wikipedia.org/wiki/Ed_(text_editor) Another way to disambiguate TUIs vs CLIs is to refer to the frameworks used to develop the app. For instance, mentioning ncurses or ncurses-based app is also frequently used to refer to TUIs.
- agumonkey 6y agoDon't worry it's not a big deal. Thanks for the article.
- rualca 6y ago> Fair enough, but how common is the TUI term anyway? It's pretty common when referring to text-based user interfaces, and when there's a clear distinction between a basic command line application. https://en.wikipedia.org/wiki/Text-based_user_interface https://en.wikipedia.org/wiki/Text-based_user_interface