From 9a5f1df8cda9812852cc271c4f500b24c4396095 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Sun, 5 Feb 2012 15:06:06 +0100 Subject: [PATCH] console: fix bug in *_erase_screen() We must erase the whole screen and not only until the current cursor position. Probably a copy-paste typo. Signed-off-by: David Herrmann --- src/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console.c b/src/console.c index 0e44570..1cadcba 100644 --- 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->cursor_y); + con->cells_x - 1, con->cells_y - 1); } -- 2.7.4