diff options
author | Lukas Lueg <lukas.lueg@gmail.com> | 2017-01-13 08:15:06 +0100 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-01-23 09:14:01 -0800 |
commit | 64b42cd2f3f1da1d6a99dcdf90e6f7728ddca968 (patch) | |
tree | 4856f4884144e1cbba8a0fc8185b446193515430 /src/input.rs | |
parent | b23ed6ed4c53a6d010238643c443da6db3931a87 (diff) | |
download | alacritty-64b42cd2f3f1da1d6a99dcdf90e6f7728ddca968.tar.gz alacritty-64b42cd2f3f1da1d6a99dcdf90e6f7728ddca968.zip |
Use the log-crate instead of printing to stdout
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 3335e0b9..09349f04 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)); + warn!("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)); + warn!("Error loading data from clipboard. {}", Red(err)); }); }, } @@ -273,7 +273,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)); + warn!("Error storing selection to clipboard. {}", Red(err)); }); } } |