1 2 3 4 5 6 7 8 9 10 11 12
#[cfg(windows)] use colored::*; use radix_clis::error::exit_with_error; use radix_clis::resim; pub fn main() { #[cfg(windows)] control::set_virtual_terminal(true).unwrap(); if let Err(msg) = resim::run() { exit_with_error(msg, 1) } }