X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Fscreen;h=1b47d5afcd7a019990ed8232eaf1773acf84df33;hb=bfcf7092226ad1d083e0126a63a8269d60dbc8f3;hp=b2fbe116a5f313fb9625c8382e396b4dd3ba2aab;hpb=05e6da1392c779adb7e8d7aebbea7ff25fab6140;p=dotfiles.git diff --git a/bin/screen b/bin/screen index b2fbe11..1b47d5a 100755 --- a/bin/screen +++ b/bin/screen @@ -5,5 +5,6 @@ if [ "$1" = "-ls" -o "$1" = "--list" ]; then fi test "$list" = true || tput smcup -/usr/bin/screen "$@" +/usr/bin/screen "$@"; rc=$? test "$list" = true || tput rmcup +exit $rc