wlt: terminal: reset scrollback-position on user-input
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 1 Oct 2012 14:42:08 +0000 (16:42 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 1 Oct 2012 14:42:08 +0000 (16:42 +0200)
commit0cc83df84afd9cb38000926ce1e48071daed9dbe
tree1e3339822e20c62dc19f6b86bb9e8638ad960a29
parentc7b458df3d0c8e57cff2151831a1724f28bb6f38
wlt: terminal: reset scrollback-position on user-input

On user-input we now reset the scrollback-position so it is set to the
actualy screen again. This is normal behavior of most other terminals and
I see no reason not to do this.

If anybody requests it, we can make it easily optional via a command-line
setting.

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