mirror of
https://github.com/nushell/nushell.git
synced 2025-02-01 19:19:24 +01:00
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();
|
|
}
|
|
}
|