aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--basta.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/basta.sh b/basta.sh
index 1f4098c..15f8bda 100644
--- a/basta.sh
+++ b/basta.sh
@@ -11,7 +11,7 @@ basta_scroll_lines=${basta_scroll_lines-0}
basta_prev_reserved_rows=${basta_prev_reserved_rows-}
basta_status_alarm_pid=${basta_status_alarm_pid-}
-basta_executing=${basta_executing-y}
+basta_executing=y
basta_deferred_intr=${basta_deferred_intr-}
basta.query_terminal_lines()
@@ -191,6 +191,7 @@ basta.do_exit_status()
basta.initial_prompt_hook()
{
local exit=$?
+ local basta_executing=y
stty raw -echo onlcr opost
basta.update_status
stty sane
@@ -311,6 +312,7 @@ basta.fullscreen() {
return $?
fi
+ local basta_executing=y
local realrows=$(( LINES + basta_prev_reserved_rows + 1 ))
local curline
local i
@@ -365,6 +367,8 @@ basta.import_array LC_basta_status
# receives a SIGALRM, it emits cruft to the terminal.
bind 'set enable-bracketed-paste 0'
+basta_executing=
+
# Copyright 2023-2025
# Kaz Kylheku <kaz@kylheku.com>
# Vancouver, Canada