console: support writing to console
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 21 Dec 2011 15:30:06 +0000 (16:30 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 21 Dec 2011 15:30:06 +0000 (16:30 +0100)
commitd75404742b1ea4c77c0630f36c732f7ff305e69c
treeb7702d71cbfb0cc653ab9539d5c85a168c6c225a
parent7402e5e753ca1daa729e93b00184ba81a01dbd18
console: support writing to console

Add kmscon_console_write() to write a character to the current position of the
cursor. The cursor is automatically moved to the next cell.

Also extend the test_console example to use this new function.

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