Unnamed repository; edit this file 'description' to name the repository.
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
Blaž Hrastnik 2021-08-22
parent 607b92b · commit 6dd7dc4
-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";
}