Xterm has control sequences for saving and restoring private modes such as
application cursor key mode or primary/alternate screen: 'CSI ? Pm s' and 'CSI
? Pm r'. These just use a single register rather than a stack for each mode, so
I'm not entirely convinced that they're very useful, but nevertheless mintty
should support them.
A lazy way to implement this that would probably get the right result in most
practical circumstances would be to ignore the save sequence and interpret the
restore sequence as reset to default.
Original issue reported on code.google.com by andy.koppe on 28 May 2011 at 5:06
Original issue reported on code.google.com by
andy.koppe
on 28 May 2011 at 5:06