Merge "term: send proper reset sequence when black background is forced"

changes/38/338/6
Matt Jordan 11 years ago committed by Gerrit Code Review
commit 25b67ed6ca

@ -311,8 +311,7 @@ const char *ast_term_color(int fgcolor, int bgcolor)
const char *ast_term_reset(void) const char *ast_term_reset(void)
{ {
if (ast_opt_force_black_background) { if (ast_opt_force_black_background) {
static const char reset[] = { ESC, '[', COLOR_BLACK + 10, 'm', 0 }; return enddata;
return reset;
} else { } else {
return quitdata; return quitdata;
} }

Loading…
Cancel
Save