Support copying in the alt buffer

This commit is contained in:
Daniel Imms
2017-06-07 11:10:05 -07:00
parent 13c401cbaa
commit 9a86eeb333
3 changed files with 15 additions and 0 deletions
+9
View File
@@ -136,6 +136,15 @@ export class SelectionManager extends EventEmitter {
this._rowContainer.addEventListener('mousedown', this._mouseDownListener);
}
/**
* Sets the active buffer, this should be called when the alt buffer is
* switched in or out.
* @param buffer The active buffer.
*/
public setBuffer(buffer: CircularList<any>): void {
this._buffer = buffer;
}
/**
* Gets the text currently selected.
*/