From c455d8f9f070df090e798d1e143ebd9cfe1fd761 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Sat, 26 Nov 2011 16:47:50 +0100 Subject: [PATCH] Set each cell to '?' for testing purposes Each cell of a console is initialized to '?' to allow testing the glyph operations. Signed-off-by: David Herrmann --- src/console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/console.c b/src/console.c index b70eca9..76b134f 100644 --- a/src/console.c +++ b/src/console.c @@ -294,6 +294,7 @@ int kmscon_console_resize(struct kmscon_console *con, uint32_t x, uint32_t y) kmscon_char_free(cells[j].ch); goto err_free; } + kmscon_char_set_u8(cells[i].ch, "?", 1); } kmscon_font_unref(con->font); -- 2.7.4