Reset terminal color on exit

develop
lethosor 2016-05-14 19:39:10 -04:00
parent 8fd25f7320
commit a6c10307b0
2 changed files with 2 additions and 0 deletions

@ -14,4 +14,5 @@ fi
old_tty_settings=$(stty -g)
DYLD_INSERT_LIBRARIES=./hack/libdfhack.dylib ./dwarfort.exe "$@"
stty "$old_tty_settings"
tput sgr0
echo ""

@ -95,6 +95,7 @@ esac
# Restore previous terminal settings
stty "$old_tty_settings"
tput sgr0
echo
if [ -n "$DF_POST_CMD" ]; then