Experimental change in the behaviour of `disable alternate terminal
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 27 May 2003 09:43:14 +0000 (09:43 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 27 May 2003 09:43:14 +0000 (09:43 +0000)
commit4c80361f22171ba8b33e51257a1c7d764f65b3ed
treea6ea22b8c50c5afd1c41501c7458605b8150dcfa
parentb9f387aff007b390873e7cc38245678b846abbae
Experimental change in the behaviour of `disable alternate terminal
screen'. Now it also disables the save-and-restore-cursor behaviour
of ESC[?1048h and ESC[?1049h, since these sequences seem to be
output by software trying to switch to the alternate screen, and it
looks very odd to have the cursor position restored to where it was
before `less' when the garbage `less' wrote all over the screen is
still around. The `traditional' ESC 7 and ESC 8 still function as
normal, on the basis that they aren't usually used in conjunction
with the alternate screen. I'm not sure whether this will be the
right decision; I'm prepared to change it back if a sufficiently
serious counterexample shows up.

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