summaryrefslogtreecommitdiff
path: root/src/write-tty
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2024-08-26 16:16:05 -0400
committerAndrew Cady <d@jerkface.net>2024-08-26 16:16:05 -0400
commit696495b21b7dab5a31a6312c3911f0e9831b3ac1 (patch)
treecef07b1416b7992e21496a15bd4f163226337464 /src/write-tty
parent334230d43a4c84b81f3c5aba6fc849ff34892be1 (diff)
fix line-coloring regression
Diffstat (limited to 'src/write-tty')
-rw-r--r--src/write-tty2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/write-tty b/src/write-tty
index 8fdb78f..117f7f8 100644
--- a/src/write-tty
+++ b/src/write-tty
@@ -88,7 +88,7 @@ soft_cursor()
88{ 88{
89 BASH_ARGV0=soft_cursor 89 BASH_ARGV0=soft_cursor
90 echo -n "$0" >/proc/$BASHPID/comm 90 echo -n "$0" >/proc/$BASHPID/comm
91 FMT=$'%s \b\e[%sm \e[m\b' 91 FMT=$'%s \b\e[%sm \e[m \b\b'
92 REPLY= 92 REPLY=
93 color=101 93 color=101
94 while printf "$FMT" "$REPLY" "$color" 94 while printf "$FMT" "$REPLY" "$color"