3 ms·
The use of a terminal is to communicate with an application (the shell mostly, and other REPL software). The text shown is a log of that interaction, not the in
by skydhash 2y ago
The use of a terminal is to communicate with an application (the shell mostly, and other REPL software). The text shown is a log of that interaction, not the interaction itself. We could probably design a better interaction model (smalltalk, plan9) but the current one is the most simple.
- atoav 2y agoI understand that. But there is no reason (other than legacy cruft) why I shouldn't be able to fix a typo mid-command with arrow keys instead of backspace before sending that command as a default. I am perfectly fine with having sent commands uneditable and responses uneditable as well.
- scbrg 2y agoYou... can? Perhaps I misunderstand you, but doesn't readline solve this problem?