mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Fix selection extend when copyOnSelect is true (#975)
This commit is contained in:
parent
48dd4b5c1f
commit
26701d43b5
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ exports.extend = function (terminal) {
|
|||
// Test if focusNode exist and nodeName is #text
|
||||
if (sel.focusNode && sel.focusNode.nodeName === '#text') {
|
||||
terminal.screen_.expandSelection(sel);
|
||||
if (terminal.copyOnSelect) {
|
||||
terminal.copyStringToClipboard();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue