Don't clear wrap state on DEC set mode escape (matches xterm)

This commit is contained in:
Keith Winstein
2012-04-11 01:58:20 -04:00
parent d37b1c4387
commit 4144f2e4f0
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -273,8 +273,9 @@ void CSI_DECRM( Framebuffer *fb, Dispatcher *dispatch )
}
}
static Function func_CSI_DECSM( CSI, "?h", CSI_DECSM );
static Function func_CSI_DECRM( CSI, "?l", CSI_DECRM );
/* These functions don't clear wrap state. */
static Function func_CSI_DECSM( CSI, "?h", CSI_DECSM, false );
static Function func_CSI_DECRM( CSI, "?l", CSI_DECRM, false );
static bool *get_ANSI_mode( int param, Framebuffer *fb ) {
switch ( param ) {