forked from extern/nushell
ca12f39db3
* added `nu-utils` crate, fixed issue where externals turn off vt processing * hopefully make work in non-windows environments * clippy
11 lines
225 B
Rust
11 lines
225 B
Rust
#[cfg(windows)]
|
|
use nu_utils::utils::enable_vt_processing;
|
|
|
|
fn main() {
|
|
// reset vt processing, aka ansi because illbehaved externals can break it
|
|
#[cfg(windows)]
|
|
{
|
|
let _ = enable_vt_processing();
|
|
}
|
|
}
|