Skip to content

Commit 3f5a4ac

Browse files
committed
Re-disable white background for this fork
1 parent ea8a613 commit 3f5a4ac

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Diff for: textcolor.c

+9-9
Original file line numberDiff line numberDiff line change
@@ -111,19 +111,19 @@ static const char clear_eos[] = "\e[0J";
111111
/* expected bright/bold (1) to get bright white background. */
112112
/* Makes no sense but I stumbled across that somewhere. */
113113

114-
static const char background_white[] = "\e[5;47m";
114+
static const char background_white[] = "\e[49m";
115115

116116
/* Whenever a dark color is used, the */
117117
/* background is reset and needs to be set again. */
118118

119-
static const char black[] = "\e[0;30m" "\e[5;47m";
120-
static const char red[] = "\e[1;31m" "\e[5;47m";
121-
static const char green[] = "\e[1;32m" "\e[5;47m";
122-
static const char yellow[] = "\e[1;33m" "\e[5;47m";
123-
static const char blue[] = "\e[1;34m" "\e[5;47m";
124-
static const char magenta[] = "\e[1;35m" "\e[5;47m";
125-
static const char cyan[] = "\e[1;36m" "\e[5;47m";
126-
static const char dark_green[] = "\e[0;32m" "\e[5;47m";
119+
static const char black[] = "\e[0;39m" "\e[49m";
120+
static const char red[] = "\e[1;31m" "\e[49m";
121+
static const char green[] = "\e[1;32m" "\e[49m";
122+
static const char yellow[] = "\e[1;33m" "\e[49m";
123+
static const char blue[] = "\e[1;34m" "\e[49m";
124+
static const char magenta[] = "\e[1;35m" "\e[49m";
125+
static const char cyan[] = "\e[1;36m" "\e[49m";
126+
static const char dark_green[] = "\e[0;32m" "\e[49m";
127127

128128
/* Clear from cursor to end of screen. */
129129

0 commit comments

Comments
 (0)