aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--basta.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/basta.sh b/basta.sh
index f402653..9741991 100644
--- a/basta.sh
+++ b/basta.sh
@@ -341,8 +341,8 @@ basta.fullscreen_alt() {
basta_deferred_intr=WINCH
LINES=$realrows command "$@" || exit=$?
- basta.query_terminal_lines realrows
- basta.get_cur_line curline
+ basta.query_terminal_lines realrows >&$ttyfd <&$ttyfd
+ basta.get_cur_line curline >&$ttyfd <&$ttyfd
if [ $curline -ge $(( realrows - basta_prev_reserved_rows )) ] ; then
local scrolls_needed=$(( curline - realrows + basta_prev_reserved_rows ))