From 4204a90222c08afb36c90006fb88c04a65a719d8 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 17 Feb 2025 18:55:02 -0800 Subject: 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. --- basta.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/basta.sh b/basta.sh index fdf994e..5367c68 100644 --- a/basta.sh +++ b/basta.sh @@ -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' -- cgit v1.2.3