aboutsummaryrefslogtreecommitdiffstats
path: root/got
diff options
context:
space:
mode:
Diffstat (limited to 'got')
-rwxr-xr-xgot2
1 files changed, 2 insertions, 0 deletions
diff --git a/got b/got
index 7c88461..65619f2 100755
--- a/got
+++ b/got
@@ -37,5 +37,7 @@ else
echo -n 'Login: '
fi
+tty_settings="$(stty --save)"
"$0".py "$@" <> "/dev/${tty}" 2>&1
+stty "${tty_settings}"