mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-18 20:11:03 +00:00
da3aa4e2fd
The `nu-ansi-term` crate is a fork of `ansi_term` which is maintained by the Nushell project.
8 lines
196 B
Rust
8 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)*));
|
|
})
|
|
}
|