on master help sign in
Don't run wl-copy with --foreground
994ff4bBlaž Hrastnik
helix-view/src/clipboard.rs+1−1
@@ -36,7 +36,7 @@ pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> {
36 } else if env_var_is_set("WAYLAND_DISPLAY") && exists("wl-copy") && exists("wl-paste") {
36 } else if env_var_is_set("WAYLAND_DISPLAY") && exists("wl-copy") && exists("wl-paste") {
37 command_provider! {
37 command_provider! {
38 paste => "wl-paste", "--no-newline";
38 paste => "wl-paste", "--no-newline";
39− copy => "wl-copy", "--foreground", "--type", "text/plain";
39+ copy => "wl-copy", "--type", "text/plain";
40 }
40 }
41 } else if env_var_is_set("DISPLAY") && exists("xclip") {
41 } else if env_var_is_set("DISPLAY") && exists("xclip") {
42 command_provider! {
42 command_provider! {