From 994ff4b2694044c60b69265cb176d0e5c608cf49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Mon, 21 Jun 2021 19:06:57 +0900 Subject: [PATCH] Don't run wl-copy with --foreground It stalls the hx process --- helix-view/src/clipboard.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { } 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! {