14 lines
424 B
Plaintext
14 lines
424 B
Plaintext
$NetBSD: patch-ad,v 1.3 2004/11/26 11:38:14 adam Exp $
|
|
|
|
--- source/screen.c.orig 2003-07-31 07:01:08.000000000 +0000
|
|
+++ source/screen.c
|
|
@@ -2974,6 +2974,8 @@ static char retbuf[512];
|
|
|
|
if (back == 58)
|
|
strcat(retbuf, current_term->TI_sgrstrs[TERM_SGR_BLINK_ON - 1]);
|
|
+ if (fore > 57)
|
|
+ fore = last_fore;
|
|
if (fore > -1)
|
|
strcat(retbuf, current_term->TI_forecolors[fore_conv[fore]]);
|
|
if (back > -1 && back < 58)
|