termgpu 0.1.0

A GPU-accelerated terminal graphics engine for Rust, enabling real-time 3D rendering in the terminal.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[macro_export]
macro_rules! fatal {
    ($($arg:tt)+) => {{
        use crossterm::ExecutableCommand;
        
        std::io::stdout()
            .execute(crossterm::terminal::LeaveAlternateScreen).unwrap()
            .execute(crossterm::cursor::Show).unwrap();

        crossterm::terminal::disable_raw_mode().unwrap();

        log::error!($($arg)+);

        std::process::exit(1);
    }};
}