mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
set this._buffer to new buffer
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user