Skip to content

Commit

Permalink
Fix multiline copy. Refs blinksh#961
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed May 17, 2020
1 parent 0dc41a7 commit 5fb0666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/term.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ function term_getCurrentSelection() {
return {
base: selection.baseNode.textContent,
offset: selection.baseOffset,
text: selection.toString(),
text: t.getSelectionText() || "",
rect,
};
}
Expand Down

0 comments on commit 5fb0666

Please sign in to comment.