mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-29 10:17:58 +03:00
disable ansi codes in logging outputs
This commit is contained in:
@@ -166,7 +166,10 @@ pub extern "system" fn DllMain(_hinst_dll: *mut std::ffi::c_void, fdw_reason: u3
|
||||
windows_sys::Win32::System::Console::AllocConsole();
|
||||
}
|
||||
|
||||
tracing_subscriber::fmt().init();
|
||||
tracing_subscriber::fmt()
|
||||
.with_ansi(false) // some targets that are injected into don't play nicely with ansi codes
|
||||
.init();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user