aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-06-21 10:06:57 +0000
committerGitHub2021-06-21 10:06:57 +0000
commit994ff4b2694044c60b69265cb176d0e5c608cf49 (patch)
tree335a4720d665a66d55e00c9d06262f7fd8aebc94 /helix-view
parentee80fa8ea999ff88a0ac473d56eaa63dcbbc6d4e (diff)
Don't run wl-copy with --foreground
It stalls the hx process
Diffstat (limited to 'helix-view')
-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 dcc44340..e32933e3 100644
--- a/helix-view/src/clipboard.rs
+++ b/helix-view/src/clipboard.rs
@@ -36,7 +36,7 @@ pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> {
} else if env_var_is_set("WAYLAND_DISPLAY") && exists("wl-copy") && exists("wl-paste") {
command_provider! {
paste => "wl-paste", "--no-newline";
- copy => "wl-copy", "--foreground", "--type", "text/plain";
+ copy => "wl-copy", "--type", "text/plain";
}
} else if env_var_is_set("DISPLAY") && exists("xclip") {
command_provider! {