diff options
| author | Samuel Lidén Borell <samuel@kodafritt.se> | 2021-12-17 20:37:23 +0100 |
|---|---|---|
| committer | Samuel Lidén Borell <samuel@kodafritt.se> | 2021-12-17 20:37:23 +0100 |
| commit | 14b9d34406ec9a51646bff38050b5905fa431eaf (patch) | |
| tree | 5c70e67ce4675d9e7d0098dfc7a7bda74580db1b | |
| parent | a94f07656d58c634c8826883580f3277ffa7de35 (diff) | |
| download | tgitui-main.tar.gz tgitui-main.zip | |
| -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" } |
