diff options
-rw-r--r-- | basta.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |