Tartarus CVS: putty: ben

tartarus-commits@lists.tartarus.org tartarus-commits@lists.tartarus.org
Sat, 23 Nov 2002 13:07:31 +0000


CVS Root:       /home/cvs
Module:         putty
Changes by:     ben
Date:           Sat Nov 23 2002  13:07:31 GMT

Log message:
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().

Modified files:
    .               : putty.h terminal.c
    mac             : macstuff.h

Links:
http://cvs.tartarus.org//putty/putty.h.diff?r1=1.166&r2=1.167
http://cvs.tartarus.org//putty/terminal.c.diff?r1=1.117&r2=1.118
http://cvs.tartarus.org//putty/mac/macstuff.h.diff?r1=1.1&r2=1.2