Allow markers on the alt buffer

This commit is contained in:
Simon Lamon
2022-07-24 09:30:13 +00:00
parent 2a0681f0c0
commit 89f5c2e06c
-5
View File
@@ -1017,11 +1017,6 @@ export class Terminal extends CoreTerminal implements ITerminal {
}
public addMarker(cursorYOffset: number): IMarker | undefined {
// Disallow markers on the alt buffer
if (this.buffer !== this.buffers.normal) {
return;
}
return this.buffer.addMarker(this.buffer.ybase + this.buffer.y + cursorYOffset);
}