Console: Simplify character handling
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 3 Dec 2011 17:09:41 +0000 (18:09 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 3 Dec 2011 17:09:41 +0000 (18:09 +0100)
commit8f065429099f5eef7437bf1c969850634b98cb9e
tree89e547f9b8843d22b05ea18962e046c05c8d1bb6
parent20beb30357d5f0bfe25504cb658ac8667e55a87d
Console: Simplify character handling

We add a new helper to initialize a new character directly to avoid two
allocations. This also refactors the character code and simplifies it alot.

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