msknathan / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Private mode save/restore #267

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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