reset cursor on DECOM

This commit is contained in:
Jörg Breitbart
2019-07-08 23:22:46 +02:00
parent e91c223bb0
commit 3d6f87ea7f
+2
View File
@@ -1286,6 +1286,7 @@ export class InputHandler extends Disposable implements IInputHandler {
break;
case 6:
this._terminal.originMode = true;
this._setCursor(0, 0);
break;
case 7:
this._terminal.wraparoundMode = true;
@@ -1485,6 +1486,7 @@ export class InputHandler extends Disposable implements IInputHandler {
break;
case 6:
this._terminal.originMode = false;
this._setCursor(0, 0);
break;
case 7:
this._terminal.wraparoundMode = false;