mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #243 from Tyriar/242_enable_scroll_on_soft_reset
Disable application mode in viewport on soft reset
This commit is contained in:
+2
-1
@@ -4153,8 +4153,8 @@ import { Viewport } from './Viewport.js';
|
||||
break;
|
||||
case 66:
|
||||
this.log('Switching back to normal keypad.');
|
||||
this.viewport.setApplicationMode(false);
|
||||
this.applicationKeypad = false;
|
||||
this.viewport.setApplicationMode(false);
|
||||
break;
|
||||
case 9: // X10 Mouse
|
||||
case 1000: // vt200 mouse
|
||||
@@ -4441,6 +4441,7 @@ import { Viewport } from './Viewport.js';
|
||||
this.originMode = false;
|
||||
this.wraparoundMode = false; // autowrap
|
||||
this.applicationKeypad = false; // ?
|
||||
this.viewport.setApplicationMode(false);
|
||||
this.applicationCursor = false;
|
||||
this.scrollTop = 0;
|
||||
this.scrollBottom = this.rows - 1;
|
||||
|
||||
Reference in New Issue
Block a user