Skip to content

Commit 67a8d13

Browse files
committed
Bug fix in term.c for standout mode
1 parent fde65a3 commit 67a8d13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/term.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,8 +894,8 @@ static __thread struct builtin_term builtin_termcaps[] =
894894
{(int)KS_OP, IF_EB("\033[0m", ESC_STR "[0m")}, // reset
895895
{(int)KS_CZH, IF_EB("\033[3m", ESC_STR "[3m")}, /* italic mode on */
896896
{(int)KS_CZR, IF_EB("\033[23m", ESC_STR "[23m")}, /* italic mode off */
897-
{(int)KS_SO, IF_EB("\033|91m", ESC_STR "[91m")}, // standout: bright red text
898-
{(int)KS_SE, IF_EB("\033|39m", ESC_STR "[39m")}, // standout end
897+
{(int)KS_SO, IF_EB("\033[91m", ESC_STR "[91m")}, // standout: bright red text
898+
{(int)KS_SE, IF_EB("\033[39m", ESC_STR "[39m")}, // standout end
899899
{(int)KS_BC, "\x08"}, /* backspace */
900900
{(int)K_BS, "\x7f"}, /* erase = ^? */
901901
// // TODO: Needs debugging on colors bg/fg

0 commit comments

Comments
 (0)