use clearAllMarkers

This commit is contained in:
meganrogge
2022-03-02 15:21:17 -06:00
parent 1af22b24c0
commit e75b47ca01
+1 -1
View File
@@ -1301,7 +1301,7 @@ export class Terminal extends CoreTerminal implements ITerminal {
// Don't clear if it's already clear
return;
}
this.buffer.clearMarkers();
this.buffer.clearAllMarkers(0);
this.buffer.lines.set(0, this.buffer.lines.get(this.buffer.ybase + this.buffer.y)!);
this.buffer.lines.length = 1;
this.buffer.ydisp = 0;