Merge pull request #952 from mofux/delete-line-fix

Fix CSI Ps M to delete the correct line
This commit is contained in:
Thomas Zilz
2017-09-08 14:00:24 +02:00
committed by GitHub
+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));
}