cleaner
This commit is contained in:
parent
46aa8c2cf8
commit
20373578f4
|
@ -107,9 +107,9 @@ const char *Previous_error = NULL;
|
|||
void render_previous_error (void) {
|
||||
if (!Previous_error) return;
|
||||
init_pair(COLOR_PAIR_ERROR, COLOR_ERROR_FOREGROUND, COLOR_ERROR_BACKGROUND);
|
||||
attrset(COLOR_PAIR(255));
|
||||
attron(COLOR_PAIR(COLOR_PAIR_ERROR));
|
||||
render_wrapped_text(LINES-10, COLS/2, COLS, Previous_error);
|
||||
attrset(A_NORMAL);
|
||||
attroff(COLOR_PAIR(COLOR_PAIR_ERROR));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue