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! {