tsm: screen: fix moving cursor when scrolling during resize
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 30 Sep 2012 21:38:30 +0000 (23:38 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 30 Sep 2012 21:38:30 +0000 (23:38 +0200)
commitbf319380ef7779e66e7e1b50400f874644638ccb
tree3706c8b2720cee7cf4fcf860e25bd3497b1ce681
parentf198f28d028ef784c7532db1a31ca205b29f897a
tsm: screen: fix moving cursor when scrolling during resize

If we scroll the screen during resize to keep the screen-content constant,
we should also move the cursor position. Otherwise, the application has an
inconsistent state.

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