From d459112676e48a5970c11766aac1509c79c07f68 Mon Sep 17 00:00:00 2001 From: Philippe Potvin Date: Mon, 5 Dec 2016 22:35:40 -0500 Subject: [PATCH] Add missing param (#1090) --- lib/utils/selection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/selection.js b/lib/utils/selection.js index fe655943..ddb15411 100644 --- a/lib/utils/selection.js +++ b/lib/utils/selection.js @@ -12,7 +12,7 @@ exports.extend = function (terminal) { if (sel.focusNode && sel.focusNode.nodeName === '#text') { terminal.screen_.expandSelection(sel); if (terminal.copyOnSelect) { - terminal.copyStringToClipboard(); + terminal.copyStringToClipboard(sel); } } };