4 ms·
That's not a CLI, that's a TUI. Eg, Dwarf Fortress does this.
by a1369209993 6y ago
That's not a CLI, that's a TUI. Eg, Dwarf Fortress does this.
- trasz 6y agoHow it’s not a CLI? There is a command line, you type in commands.
- a1369209993 6y ago> But note it's not "?<CR>", you don't need to press enter "Responds to individual keypresses" vs "responds to complete lines" is pretty much the defining feature of TUI vs CLI. > you type in commands. KEY_SLASH+MOD_SHIFT is a UI event, not a command.
- trasz 6y agoIf that were true, bash wouldn’t be a CLI, due to <TAB>. What I’m describing is definitely a CLI. You type in commands, such as “show version”. It’s just a bit smarter about command completion and context help.