diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2025-02-17 18:55:02 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2025-02-17 18:55:02 -0800 |
commit | 4204a90222c08afb36c90006fb88c04a65a719d8 (patch) | |
tree | e96191489f807e4aaefec2e0fa07a279183ca610 | |
parent | 7c2e2963150c6efb22619cec5cd7202eb14f1eb4 (diff) | |
download | basta-4204a90222c08afb36c90006fb88c04a65a719d8.tar.gz basta-4204a90222c08afb36c90006fb88c04a65a719d8.tar.bz2 basta-4204a90222c08afb36c90006fb88c04a65a719d8.zip |
Gnome Terminal doesn't take line wrap escape sequences.
* basta.sh (basta.update_status): Gnome Terminal just
prints ESC [ = 7 l rather than executing it.
Let's just drop these escapes.
-rw-r--r-- | basta.sh | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -130,12 +130,10 @@ basta.update_status() printf $'\e7\e[%s;1H\e[K%s\e[1;%sr' \ $((basta_scroll_lines + 1)) "$status" $basta_scroll_lines - printf $'\e[=7l' for (( i = $basta_prev_reserved_rows - 1, j = 2; i >= 0; i--, j++ )) ; do printf $'\e[%s;1H\e[K%s' \ $((basta_scroll_lines + j)) "${LC_basta_status[i]}" done - printf $'\e[=7h' printf $'\e8' |