Fix a bug in scroll_display(): when the scrolled region contains the cursor
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 23 Nov 2002 21:42:46 +0000 (21:42 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 23 Nov 2002 21:42:46 +0000 (21:42 +0000)
commit7c66d7d9a4f1a148751d27e2f2a1757a9caa44a1
treeb9693bf49f4a953415811f2ae85a3491240a2601
parent4e1dce5b268d0109437f42af8ac2a148f854c1f8
Fix a bug in scroll_display(): when the scrolled region contains the cursor
we need to update dispcurs as well as disptext.

Add scroll optimisation to scroll().  This makes it rather obvious that scroll
optimisation is breaking with PuTTY's usual policy of lazy updates, since
scrolling is done eagerly.  Fixing this so that all the scrolling is saved
up for do_paint would be nice, but non-trivial.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2252 cda61777-01e9-0310-a592-d414129be87e
terminal.c