screen: clear existing cells when shrinking
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 23 Oct 2013 18:07:45 +0000 (20:07 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 23 Oct 2013 18:07:45 +0000 (20:07 +0200)
commit90bc3a9669daa926986c851668a92cc779fa76a5
treefcec4a1e7fa542cb6534a05a6c317bf3f0491949
parent0761efaf48aa1ba9e9be58d2d50982438075d9c7
screen: clear existing cells when shrinking

Clear parts of the existing screen if it is about to get hidden.
Otherwise, it might reach the scrollback later when it is no longer part
of the line it was during resize.

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