Browse Source

Merge branch 'fix_xclip_hanging' into 'master'

Add -f flag to xclip, fixing hanging

Closes #93

See merge request timvisee/ffsend!31
Tim Visée 5 years ago
parent
commit
e9f7dde6fa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/util.rs

+ 1 - 0
src/util.rs

@@ -395,6 +395,7 @@ impl ClipboardType {
         Self::sys_cmd_set(
             "xclip",
             Command::new(path.unwrap_or_else(|| "xclip".into()))
+                .arg("-f")
                 .arg("-sel")
                 .arg("clip"),
             content,