projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e63491a
)
vte: set color to white on cell reset
author
David Herrmann
<dh.herrmann@googlemail.com>
Wed, 30 May 2012 16:58:52 +0000
(18:58 +0200)
committer
David Herrmann
<dh.herrmann@googlemail.com>
Wed, 30 May 2012 16:58:52 +0000
(18:58 +0200)
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>
src/console.c
patch
|
blob
|
history
diff --git
a/src/console.c
b/src/console.c
index
30d4f06
..
b02ff77
100644
(file)
--- a/
src/console.c
+++ b/
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)