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;
+1 -1
View File
@@ -262,7 +262,7 @@ export class MockBuffer implements IBuffer {
public clearMarkers(y: number): void {
throw new Error('Method not implemented.');
}
public clearAllMarkers(excludeY: number): void {
public clearAllMarkers(): void {
throw new Error('Method not implemented.');
}
}