summaryrefslogtreecommitdiff
path: root/helix-view/src/clipboard.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-22 06:01:12 +0000
committerBlaž Hrastnik2021-08-22 06:01:12 +0000
commit6dd7dc4eb2d50a9027caef4acc5e0bcc957d9280 (patch)
treec1ffe25a90af3fb6186430da24e27db2d6f6b889 /helix-view/src/clipboard.rs
parent607b92b2e374f7b19e167da6d417dc6ae25bafe8 (diff)
fix: xsel copy should not freeze the editor
If using --nodetach, xsel would end up continually running in the foreground, so the command execution would never finish. Fixes #630
Diffstat (limited to 'helix-view/src/clipboard.rs')
-rw-r--r--helix-view/src/clipboard.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/clipboard.rs b/helix-view/src/clipboard.rs
index 9dd86da7..a11224ac 100644
--- a/helix-view/src/clipboard.rs
+++ b/helix-view/src/clipboard.rs
@@ -84,7 +84,7 @@ pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> {
// FIXME: check performance of is_exit_success
command_provider! {
paste => "xsel", "-o", "-b";
- copy => "xsel", "--nodetach", "-i", "-b";
+ copy => "xsel", "-i", "-b";
primary_paste => "xsel", "-o";
primary_copy => "xsel", "-i";
}