Richard B's patch for resize behaviour. The scrollback now contains
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 7 Mar 2003 18:18:38 +0000 (18:18 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 7 Mar 2003 18:18:38 +0000 (18:18 +0000)
commit4683b9b61410e3cb14e944f68e238b147c67f907
tree76bc3234ae543d6c5d60eefc6f7648e729af3742
parentec3f19be6a97c2f4e76f9d7749209a4581e39c93
Richard B's patch for resize behaviour. The scrollback now contains
a marker which defines everything before it as `permanent'
scrollback and everything after it as `temporary'; only temporary
scrollback lines are returned to the main screen when the window
height is increased. Screen clears mark the lines pushed into the
scrollback as permanent; so lines explicitly cleared off the screen
by ESC[2J are never returned to it by mistake. This patch also fixes
the incorrect state the primary screen is left in when the window is
resized while the alternate screen is active.

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