Start isolating buffer attributes into Buffer class
This commit is contained in:
committed by
Paris Kasidiaris
parent
8ede1fc9d2
commit
bbafdd3d06
@@ -38,11 +38,13 @@ export class BufferSet extends EventEmitter {
|
||||
|
||||
public activateNormalBuffer(): void {
|
||||
this._activeBuffer = this._normal;
|
||||
this.resetTerminal();
|
||||
this.emit('activate', this._normal);
|
||||
}
|
||||
|
||||
public activateAltBuffer(): void {
|
||||
this._activeBuffer = this._alt;
|
||||
this.resetTerminal();
|
||||
this.emit('activate', this._alt);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user