Disable XON/XOFF software flow control for Linux
This prevents the Ctrl+S shortcut from freezing the terminal. Also, the quick fix is to press Ctrl+Q.
Add the following to a shell startup script (such as ~/.bashrc or ~/.zshrc):
# Disable XON/XOFF flow control
stty -ixon
Apply (assume that you’re using zsh):
source ~/.zshrc