console: allow to push empty lines to scrollback buffer
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 2 Feb 2012 16:41:43 +0000 (17:41 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 2 Feb 2012 16:41:43 +0000 (17:41 +0100)
commitebef2a016b55a4fc9270e5862e1c2a65e7ae7b67
tree27db57079f7b71a7353f3862b677ad4f63e2c9c4
parentaf3a1f3e50687b2e413bb9eb66b754986940086e
console: allow to push empty lines to scrollback buffer

When pushing a line=NULL to the scrollback buffer we now assume that the
line was empty and we allocate a new empty line. If the allocation fails
we simply drop that line.

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