mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
ca12f39db3
* added `nu-utils` crate, fixed issue where externals turn off vt processing * hopefully make work in non-windows environments * clippy
10 lines
225 B
Rust
10 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();
|
|
}
|
|
}
|