mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-25 21:37:33 +00:00
Explicitly enable vt processing on Windows
This commit is contained in:
parent
8f0e4ccfdd
commit
777cd7e815
@ -50,6 +50,11 @@ fn main() {
|
|||||||
|
|
||||||
logger::configure(env::var_os(vars::EXA_DEBUG));
|
logger::configure(env::var_os(vars::EXA_DEBUG));
|
||||||
|
|
||||||
|
#[cfg(windows)]
|
||||||
|
if let Err(e) = ansi_term::enable_ansi_support() {
|
||||||
|
warn!("Failed to enable ANSI support: {}", e);
|
||||||
|
}
|
||||||
|
|
||||||
let args: Vec<_> = env::args_os().skip(1).collect();
|
let args: Vec<_> = env::args_os().skip(1).collect();
|
||||||
match Options::parse(args.iter().map(|e| e.as_ref()), &LiveVars) {
|
match Options::parse(args.iter().map(|e| e.as_ref()), &LiveVars) {
|
||||||
OptionsResult::Ok(options, mut input_paths) => {
|
OptionsResult::Ok(options, mut input_paths) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user