diff options
-rw-r--r-- | basta.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -354,7 +354,7 @@ basta.fullscreen_alt() { basta_deferred_intr=WINCH LINES=$realrows command "$@" || exit=$? - local scrolls_needed=$basta_prev_reserved_rows + local scrolls_needed=$((basta_prev_reserved_rows + 1)) if basta.query_terminal_lines realrows >&$ttyfd <&$ttyfd && basta.get_cur_line curline >&$ttyfd <&$ttyfd @@ -369,7 +369,7 @@ basta.fullscreen_alt() { printf $'\n' >&$ttyfd done - printf $'\n\e[%sA' $(( basta_prev_reserved_rows + 1 )) >&$ttyfd + printf $'\e[%sA' $(( basta_prev_reserved_rows + 1 )) >&$ttyfd fi exec {ttyfd}>&- |