From df11592d131811caf35742fcedae241c6af4deb3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 25 Aug 2017 18:28:51 +0300 Subject: .bashrc: add stty hack --- %HOME%/.bashrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '%HOME%') diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index abca721..5404fc9 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -69,3 +69,9 @@ if command -v vim > /dev/null 2>&1; then elif command -v nano > /dev/null 2>&1; then export EDITOR=nano fi + +# I've bumped into this on Linux Mint: Ctrl+S causes my terminal to freeze +# completely (Ctrl+Q is a temporary escape, stty is the cure). +os_is_cygwin \ + || command -v stty > /dev/null 2>&1 \ + && stty -ixon -- cgit v1.2.3