Merge pull request #3924 from silamon/allowmarkersonaltbuffer

Allow markers on the alt buffer
This commit is contained in:
Daniel Imms
2022-07-31 14:39:45 -07:00
committed by GitHub
3 changed files with 11 additions and 5 deletions
-5
View File
@@ -957,11 +957,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);
}