Fix deleteChars not updating the view

When deleting a character in a line and moving the cursor to
another line afterwards, the deletion is not rendered.
This commit adds the line where the character was deleted
to the refresh range to enforce an update
This commit is contained in:
Martin Koppehel
2017-11-05 10:31:35 +01:00
parent 3921457bf3
commit 4b46a777d7
+1
View File
@@ -497,6 +497,7 @@ export class InputHandler implements IInputHandler {
this._terminal.buffer.lines.get(row).splice(this._terminal.buffer.x, 1);
this._terminal.buffer.lines.get(row).push(ch);
}
this._terminal.updateRange(this._terminal.buffer.y);
}
/**