]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Bring in some of my scroll-optimisation stuff from the old Mac port.
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 23 Nov 2002 13:07:29 +0000 (13:07 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 23 Nov 2002 13:07:29 +0000 (13:07 +0000)
commit03aa22be3c12c8bc5ba834e75f07d8ddb8bb3cbc
tree39634d84976aa4d950912850b15e314f298d0e51
parentd923ad791e3b44c275c49e04fc59d8ba16b45315
Bring in some of my scroll-optimisation stuff from the old Mac port.
This introduces a new front-end function, do_scroll(), which is expected to
scroll a part of the physical display and cause repaint events for any
areas that couldn't be scrolled (e.g. because they were hidden).
scroll_display() is a wrapper around this which also updates disptext to
match.

Currently, scroll_display is only used in response to user scrollback requests
(via term_scroll()), but extending scroll() to use it as well should be
easy.

All of this is conditional on the front end's defining OPTIMISE_SCROLL, since
only the Mac front end currently implements do_scroll().

[originally from svn r2242]
mac/macstuff.h
putty.h
terminal.c