Personally, I feel that if it uses control commands to update the screen in previous positions of the scroll buffer, moving beyond where the cursor is, then it’s a TUI.
CLI programs only output plain text, at most with control characters for coloring and formatting, and if they do any re-drawing is only for the current line (eg. progressbars and so).
So… even something like less is a TUI program… but things like more or sed would be CLI programs.
Personally, I feel that if it uses control commands to update the screen in previous positions of the scroll buffer, moving beyond where the cursor is, then it’s a TUI.
CLI programs only output plain text, at most with control characters for coloring and formatting, and if they do any re-drawing is only for the current line (eg. progressbars and so).
So… even something like
lessis a TUI program… but things likemoreorsedwould be CLI programs.Fair enough. I’d never consider less to be a TUI program.