diff options
-rw-r--r-- | basta.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -328,13 +328,15 @@ basta.fullscreen() shift saveterm=y printf $'\e[?1049h' >&$ttyfd + else + basta_deferred_intr=WINCH + printf $'\e[J' >&$ttyfd fi + printf $'\e7\e[1;%sr\e8' $realrows >&$ttyfd stty rows $realrows <&$ttyfd - [ $saveterm ] || printf $'\e[J' >&$ttyfd && basta_deferred_intr=WINCH - LINES=$realrows command "$@" || exit=$? if [ $saveterm ] ; then |