clear all markers (#3868)

This commit is contained in:
Megan Rogge
2022-06-21 18:26:02 +00:00
committed by GitHub
parent 4cdf308c2f
commit 52044e9aad
4 changed files with 9 additions and 12 deletions
+1 -1
View File
@@ -1325,7 +1325,7 @@ export class Terminal extends CoreTerminal implements ITerminal {
// Don't clear if it's already clear
return;
}
this.buffer.clearAllMarkers(0);
this.buffer.clearAllMarkers();
this.buffer.lines.set(0, this.buffer.lines.get(this.buffer.ybase + this.buffer.y)!);
this.buffer.lines.length = 1;
this.buffer.ydisp = 0;