Set each cell to '?' for testing purposes
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 26 Nov 2011 15:47:50 +0000 (16:47 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 26 Nov 2011 15:47:50 +0000 (16:47 +0100)
Each cell of a console is initialized to '?' to allow testing the glyph
operations.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/console.c

index b70eca9..76b134f 100644 (file)
@@ -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);