diff options
author | Joe Wilm <joe@jwilm.com> | 2017-01-02 20:15:24 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2017-01-02 20:15:24 -0800 |
commit | 06991e6eee4c80f99c069ff1b928bcb2111b1c3d (patch) | |
tree | 3f0768f7fd0000ee2805eb70e6bec2605dfb3e00 /src/input.rs | |
parent | a105be82cf4c333ae691fe7f021fca8fe2b9788e (diff) | |
download | alacritty-06991e6eee4c80f99c069ff1b928bcb2111b1c3d.tar.gz alacritty-06991e6eee4c80f99c069ff1b928bcb2111b1c3d.zip |
Better error message when xclip is not available
Resolves #37.
Diffstat (limited to 'src/input.rs')
-rw-r--r-- | src/input.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input.rs b/src/input.rs index 012163b8..61805071 100644 --- a/src/input.rs +++ b/src/input.rs @@ -151,7 +151,7 @@ impl Action { Clipboard::new() .and_then(|mut clipboard| clipboard.store_primary(buf)) .unwrap_or_else(|err| { - err_println!("Error storing selection to clipboard: {}", Red(err)); + err_println!("Error storing selection to clipboard. {}", Red(err)); }); } } @@ -170,7 +170,7 @@ impl Action { } }) .unwrap_or_else(|err| { - err_println!("Error loading data from clipboard {}", Red(err)); + err_println!("Error loading data from clipboard. {}", Red(err)); }); }, } @@ -278,7 +278,7 @@ impl<'a, N: Notify + 'a> Processor<'a, N> { Clipboard::new() .and_then(|mut clipboard| clipboard.store_selection(buf)) .unwrap_or_else(|err| { - err_println!("Error storing selection to clipboard: {}", Red(err)); + err_println!("Error storing selection to clipboard. {}", Red(err)); }); } } |