Skip to content
Snippets Groups Projects
Commit 25b67ed6 authored by Matt Jordan's avatar Matt Jordan Committed by Gerrit Code Review
Browse files

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

parents 8e1b7472 e4f0a55f
Branches
Tags
No related merge requests found
...@@ -311,8 +311,7 @@ const char *ast_term_color(int fgcolor, int bgcolor) ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment