screen: clear padding of main-lines on resize
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 22 Oct 2013 14:28:02 +0000 (16:28 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 22 Oct 2013 14:28:02 +0000 (16:28 +0200)
commit4e71294543b309c12abddf9156a87f927eb51623
tree0fdacc48d0ed25c6e8824d9f86e6808dbca12674
parent68e64ecf6d4a0b5d959962d875a97694b6abc23a
screen: clear padding of main-lines on resize

The invisible padding during width reduction is not cleared as we clear
it when it gets visible again. However, if the line is pushed into
scrollback in between, it may get visible once the width is increases
again. Hence, clear padding of main-lines if screen-width is decreased.

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