console: implement console soft-reset
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 14 Jul 2012 12:12:51 +0000 (14:12 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 14 Jul 2012 12:12:51 +0000 (14:12 +0200)
commit10c90c6c5d1f4aa85ea7a74b628ae7c08b141cc5
tree85c0c4a4a96d029c15694ac61f742ad8089059c8
parent2ca0c915a74ba336deeb141538ca16a7dbdc95b9
console: implement console soft-reset

On soft-reset we reset the console to the initial state but keep current
line-state. That is, scrollback and cursor position are kept but the
non-visible state is reset.

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