Fix CSI Ps M to delete the correct line

This commit is contained in:
Thomas Zilz
2017-09-07 17:13:15 +02:00
parent 575c10114b
commit 4eb356f6be
+1 -1
View File
@@ -467,7 +467,7 @@ export class InputHandler implements IInputHandler {
while (param--) {
// test: echo -e '\e[44m\e[1M\e[0m'
// blankLine(true) - xterm/linux behavior
this._terminal.buffer.lines.splice(row - 1, 1);
this._terminal.buffer.lines.splice(row, 1);
this._terminal.buffer.lines.splice(j, 0, this._terminal.blankLine(true));
}