Fix LF/VT/FF behavior

Don't wrap cursor to column 0 after an index, fixes 2 tests
This commit is contained in:
Daniel Imms
2017-01-20 22:14:18 -08:00
parent 72063329fe
commit 99fbcd3d65
+3
View File
@@ -123,6 +123,9 @@ export class InputHandler implements IInputHandler {
this._terminal.y--;
this._terminal.scroll();
}
if (this._terminal.x >= this._terminal.cols) {
this._terminal.x--;
}
}
/**