()
| 3929 | this._cols = e3, this._rows = t3, this._memoryCleanupQueue.clear(), s3 > 0.1 * this.lines.length && (this._memoryCleanupPosition = 0, this._memoryCleanupQueue.enqueue((() => this._batchedMemoryCleanup()))); |
| 3930 | } |
| 3931 | _batchedMemoryCleanup() { |
| 3932 | let e3 = true; |
| 3933 | this._memoryCleanupPosition >= this.lines.length && (this._memoryCleanupPosition = 0, e3 = false); |
| 3934 | let t3 = 0; |
| 3935 | for (; this._memoryCleanupPosition < this.lines.length; ) if (t3 += this.lines.get(this._memoryCleanupPosition++).cleanupMemory(), t3 > 100) return true; |
| 3936 | return e3; |
| 3937 | } |
| 3938 | get _isReflowEnabled() { |
| 3939 | const e3 = this._optionsService.rawOptions.windowsPty; |
| 3940 | return e3 && e3.buildNumber ? this._hasScrollback && "conpty" === e3.backend && e3.buildNumber >= 21376 : this._hasScrollback && !this._optionsService.rawOptions.windowsMode; |
no test coverage detected