diff options
-rw-r--r-- | basta.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -70,8 +70,7 @@ basta.update_status() basta.check_cursor() { - local saved_tty=$(stty -g) - stty raw + stty raw -echo if ! read -t 0; then local exit=$? @@ -83,7 +82,7 @@ basta.check_cursor() fi fi - stty "$saved_tty" + stty sane } basta.do_exit_status() |