mirror of
https://github.com/sharkdp/bat
synced 2024-11-26 13:50:25 +00:00
da3aa4e2fd
The `nu-ansi-term` crate is a fork of `ansi_term` which is maintained by the Nushell project.
7 lines
196 B
Rust
7 lines
196 B
Rust
#[macro_export]
|
|
macro_rules! bat_warning {
|
|
($($arg:tt)*) => ({
|
|
use nu_ansi_term::Color::Yellow;
|
|
eprintln!("{}: {}", Yellow.paint("[bat warning]"), format!($($arg)*));
|
|
})
|
|
}
|