Skip to content

Commit fc22fc3

Browse files
committed
Disable application mode in viewport on soft reset
Fixes #242
1 parent 01c2080 commit fc22fc3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/xterm.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4561,8 +4561,8 @@
45614561
break;
45624562
case 66:
45634563
this.log('Switching back to normal keypad.');
4564-
this.viewport.setApplicationMode(false);
45654564
this.applicationKeypad = false;
4565+
this.viewport.setApplicationMode(false);
45664566
break;
45674567
case 9: // X10 Mouse
45684568
case 1000: // vt200 mouse
@@ -4849,6 +4849,7 @@
48494849
this.originMode = false;
48504850
this.wraparoundMode = false; // autowrap
48514851
this.applicationKeypad = false; // ?
4852+
this.viewport.setApplicationMode(false);
48524853
this.applicationCursor = false;
48534854
this.scrollTop = 0;
48544855
this.scrollBottom = this.rows - 1;

0 commit comments

Comments
 (0)