Short answer, terminals are built on the same technology as physical terminals from the 60s and 70s when controlling the flow of data from the server was a more useful feature.
Same reason there’s a ScrollLock key on keyboards. Didn’t always have scrollbars and if the application prints more than you can read, you want to pause that…
On my Terminal that just makes it so I can’t type anymore, I feel like I’m doing something wrong…
My solution to the problem is CTRL+U, type sudo, CTRL+Y.
Ctrl + S freezes your shell yes. But Alt + S?
Ah indeed, ALT+S does nothing. I must have pressed both before realizing it was frozen.
If you hit ctrl-s, ctrl-q will unfreeze
x👏off👏… x👏on👏… x👏off👏, x👏on👏…flowcontrol.
Interesting, why is that? Like what feature is that?
Short answer, terminals are built on the same technology as physical terminals from the 60s and 70s when controlling the flow of data from the server was a more useful feature.
Same reason there’s a ScrollLock key on keyboards. Didn’t always have scrollbars and if the application prints more than you can read, you want to pause that…
It’s part of the terminal emulator flow control
Need to use the fish shell instead of the others for this to work. (May be a way to enable it in other shells but I’m not sure how)