Skip to content

Commit

Permalink
Merge pull request #243 from Tyriar/242_enable_scroll_on_soft_reset
Browse files Browse the repository at this point in the history
Disable application mode in viewport on soft reset
  • Loading branch information
Tyriar authored Aug 31, 2016
2 parents abfcf27 + fc22fc3 commit b56ad5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xterm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b56ad5e

Please sign in to comment.