set this._buffer to new buffer

This commit is contained in:
meganrogge
2021-01-04 11:32:11 -08:00
parent 8baff9bade
commit fe2b1c0d43
+1 -1
View File
@@ -60,7 +60,7 @@ export class Terminal implements ITerminalApi {
public get buffer(): IBufferNamespaceApi {
this._checkProposedApi();
if (!this._buffer) {
return new BufferNamespaceApi(this._core.buffers);
this._buffer = new BufferNamespaceApi(this._core.buffers);
}
return this._buffer;
}