console: add newline function
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 26 Dec 2011 13:24:31 +0000 (14:24 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 26 Dec 2011 13:24:31 +0000 (14:24 +0100)
commit676b03cb5c3ba4cb80632457db877a95253ee56b
treeb416a6c619b0e509fc58e0835d442ed3f8e21a0d
parente9a492ff440cef37d291a496797cfdfc0a5b0444
console: add newline function

kmscon_console_newline() can be used to produce a newline. Writing \n doesn't
work as this would write \n as character into the cell and not produce a
newline.
The console does not perform any parsing so we provide a separate function.

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