Skip to content

Commit c7c591a

Browse files
committed
Revert "Disable obnoxious white background on arm targets"
This reverts commit 42a2398.
1 parent 9b36294 commit c7c591a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Diff for: hdlc_rec.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ int hdlc_rec_data_detect_any (int chan)
666666
text_color_set(DW_COLOR_ERROR);
667667
dw_printf ("Error opening %s to check TXINH.\n", stemp);
668668
dw_printf ("%s\n", strerror(e));
669-
return (busy != 1);
669+
return busy;
670670
}
671671

672672
char vtemp[2];

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[49m";
114+
static const char background_white[] = "\e[5;47m";
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;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";
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";
127127

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

0 commit comments

Comments
 (0)