simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sat Jan 25 18:38:38 GMT 2014


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       10125
Date:           2014-01-25 18:38:38 +0000 (Sat, 25 Jan 2014)

Log message (14 lines):
Don't unconditionally reset scrollback on certain escape sequences.

Handlers for a number of escape sequences, notably including ESC[J and
the sequences that switch to/from the alternate screen, were
unconditionally resetting the scrollback instead of first checking the
'Reset scrollback on display activity' configuration option. I've
added the missing if statements, so now 'Reset scrollback on display
activity' should actually mean what it says.

For example, this would have inconvenienced an mplayer user, who
wouldn't be able to go up and check their scrollback while mplayer was
repeatedly redisplaying its status line, because mplayer uses ESC[J to
erase each version of the status line before printing the next
version.

Modified files:
U   putty/terminal.c

Links:
http://svn.tartarus.org/sgt/?rev=10125&view=rev
http://svn.tartarus.org/sgt/putty/terminal.c?rev=10125&r1=10124&r2=10125



More information about the tartarus-commits mailing list