bash bug

Prevent Freezing When Pressing Ctrl-S in Bash Command Line

Introducing how to disable the feature that freezes when pressing Ctrl-S in Bash command line. I usually run WSL Linux bash in ConEmu on Windows 10, but I don't know if it's a ConEmu bug or WSL specification, but Ctrl+S freezes... and Ctrl+Q to release it doesn't work. So when that happens, I can't use that console tab anymore, so I have to either close it or leave it minimized...

Shou Arisaka
1 min read
Oct 24, 2025

Introducing how to disable the feature that freezes when pressing Ctrl-S in Bash command line.

I usually run WSL Linux bash in ConEmu on Windows 10, but I don’t know if it’s a ConEmu bug or WSL specification, but Ctrl+S freezes… and Ctrl+Q to release it doesn’t work. So when that happens, I can’t use that console tab anymore, so I have to either close it or leave it. Since running the force quit command would also close other bash windows, I take the method of minimizing and leaving it until OS restart.

cat >> ~/.bashrc
bind -r '\C-s'
stty -ixon

. ~/.bashrc

Reference: In vim how to map “save” to ctrl-s - Stack Overflow

Share this article

Shou Arisaka Oct 24, 2025

🔗 Copy Links