mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
improve conditional
This commit is contained in:
@@ -625,7 +625,7 @@ export class Buffer implements IBuffer {
|
||||
}
|
||||
|
||||
private _removeMarker(marker: Marker): void {
|
||||
if (this._isClearing !== BufferState.CLEARING) {
|
||||
if (!this._isClearing) {
|
||||
this.markers.splice(this.markers.indexOf(marker), 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user