3 ms·
It's provided by the terminal (emulator) in "cooked" mode: https://en.wikipedia.org/wiki/Terminal_mode https://en.wikipedia.org/wiki/Terminal_mode raw mode doe
by samatman 2y ago
It's provided by the terminal (emulator) in "cooked" mode: https://en.wikipedia.org/wiki/Terminal_mode https://en.wikipedia.org/wiki/Terminal_mode
raw mode doesn't do this.
- xg15 2y agoAh, that's exactly the answer and makes a lot of sense. Thanks a lot.
- _kst_ 2y agoTo be clear, it's not the terminal emulator (xterm, mintty, iTerm2, etc.) that does this. It's the tty layer. You can use the stty command to change the settings.
- samatman 2y agoYes, quite right. I was thinking of the terminal driver and typed emulator for some reason. Good catch.