]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Experimental change in the behaviour of `disable alternate terminal
authorSimon Tatham <anakin@pobox.com>
Tue, 27 May 2003 09:43:14 +0000 (09:43 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 27 May 2003 09:43:14 +0000 (09:43 +0000)
commit171ce1e780eef61267d6478ed83c0647b7911231
treea6ea22b8c50c5afd1c41501c7458605b8150dcfa
parente955cc77ce2d0b950ca5815c0ca728f0d79a5d67
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.

[originally from svn r3222]
terminal.c