diff options
-rwxr-xr-x | tgitui.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -198,7 +198,8 @@ setup_terminal() { } cleanup() { - printf '\033[?1049l\033[?1l\033[?2004l' >&2 + local rows=$(tput lines) + printf '\033[%d;1H\033[?1049l\033[?1l\033[?2004l' $((rows-1)) >&2 stty "$saved_stty" } |