mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #952 from mofux/delete-line-fix
Fix CSI Ps M to delete the correct line
This commit is contained in:
+1
-1
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user