mirror of https://github.com/sharkdp/bat
Merge pull request #2511 from nickelc/nu-ansi-term
Use `nu-ansi-term` instead of `ansi_term`pull/2406/head
commit
4d9aaece09
@ -1,7 +1,7 @@
|
||||
#[macro_export]
|
||||
macro_rules! bat_warning {
|
||||
($($arg:tt)*) => ({
|
||||
use ansi_term::Colour::Yellow;
|
||||
use nu_ansi_term::Color::Yellow;
|
||||
eprintln!("{}: {}", Yellow.paint("[bat warning]"), format!($($arg)*));
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue