From 994ff4b2694044c60b69265cb176d0e5c608cf49 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Mon, 21 Jun 2021 19:06:57 +0900 Subject: 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(-) (limited to 'helix-view/src') 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! { -- cgit v1.2.3-70-g09d2