Support copy and paste via context menu

This commit is contained in:
Daniel Imms
2017-05-25 16:17:43 -07:00
parent f7d6ab5f2a
commit 24bed01fa4
3 changed files with 33 additions and 67 deletions
+4
View File
@@ -52,6 +52,10 @@ export class SelectionModel {
* word selection and triple click line selection.
*/
public get finalSelectionEnd(): [number, number] {
if (!this.selectionStart) {
return null;
}
if (this.isSelectAllActive) {
return [this._terminal.cols - 1, this._terminal.ydisp + this._terminal.rows - 1];
}