Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

vte: set color to white on cell reset

For the same reason as we reset it to white on cell creation we need to
reset it to white on cell reset. Otherwise we have odd artifacts in
reverse video mode.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
  • Loading branch information...
commit c1e7a2958742988b9062c789501547c7d99644b3 1 parent e63491a
@dvdhrm authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/console.c
View
3  src/console.c
@@ -176,6 +176,9 @@ static void reset_cell(struct cell *cell)
return;
memset(cell, 0, sizeof(*cell));
+ cell->attr.fr = 255;
+ cell->attr.fg = 255;
+ cell->attr.fb = 255;
}
static void free_line(struct line *line)
Please sign in to comment.
Something went wrong with that request. Please try again.