mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
Merge "term: send proper reset sequence when black background is forced"
This commit is contained in:
@@ -311,8 +311,7 @@ const char *ast_term_color(int fgcolor, int bgcolor)
|
||||
const char *ast_term_reset(void)
|
||||
{
|
||||
if (ast_opt_force_black_background) {
|
||||
static const char reset[] = { ESC, '[', COLOR_BLACK + 10, 'm', 0 };
|
||||
return reset;
|
||||
return enddata;
|
||||
} else {
|
||||
return quitdata;
|
||||
}
|
||||
|
Reference in New Issue
Block a user