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:
5e53cda
)
console: fix bug in *_erase_screen()
author
David Herrmann
<dh.herrmann@googlemail.com>
Sun, 5 Feb 2012 14:06:06 +0000
(15:06 +0100)
committer
David Herrmann
<dh.herrmann@googlemail.com>
Sun, 5 Feb 2012 14:06:06 +0000
(15:06 +0100)
We must erase the whole screen and not only until the current cursor
position. Probably a copy-paste typo.
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
0e44570
..
1cadcba
100644
(file)
--- a/
src/console.c
+++ b/
src/console.c
@@
-472,5
+472,5
@@
void kmscon_console_erase_screen(struct kmscon_console *con)
return;
kmscon_buffer_erase_region(con->cells, 0, 0,
- con->cells_x - 1, con->c
ursor_y
);
+ con->cells_x - 1, con->c
ells_y - 1
);
}