Skip to content

Commit

Permalink
use std::eprintln
Browse files Browse the repository at this point in the history
Signed-off-by: Luke-zhang-04 <luke.zhang2004dev@gmail.com>
  • Loading branch information
Luke-zhang-04 committed Nov 28, 2020
1 parent 39e6f61 commit bce8f07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/onefetch/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,9 @@ impl Cli {
if let Some((width, _)) = term_size::dimensions_stdout() {
art_off = width <= max_term_size;
} else {
std::println!(
std::eprintln!(
"{}",
("Coult not get terminal width. ASCII art will be displayed.").yellow(),
("Could not get terminal width. ASCII art will be displayed."),
);

art_off = false;
Expand Down

0 comments on commit bce8f07

Please sign in to comment.