Merge pull request #178636 from microsoft/merogge/fix

fix issue with buffer content tracker
This commit is contained in:
Megan Rogge 2023-03-29 17:50:25 -07:00 committed by GitHub
commit 9e1375620e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,7 @@ export class BufferContentTracker {
if (this._lastCachedMarker?.isDisposed) {
// the terminal was cleared, reset the cache
this._lines = [];
this._lastCachedMarker = undefined;
return;
}
this._removeViewportContent();