diff --git a/src/common/buffer/BufferLine.ts b/src/common/buffer/BufferLine.ts index 0902751f5..edf3d6855 100644 --- a/src/common/buffer/BufferLine.ts +++ b/src/common/buffer/BufferLine.ts @@ -484,8 +484,6 @@ export class BufferLine implements IBufferLine { // thus we can skip handling them newLine._copySparseMapsFrom(this); } - this._cache = ''; - this._cacheValid = false; newLine.isWrapped = this.isWrapped; return newLine; }