mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user