3 unstable releases
0.2.1 | Jan 16, 2023 |
---|---|
0.1.1 | Nov 24, 2022 |
0.1.0 | Nov 23, 2022 |
#9 in #hide
16KB
576 lines
ANSI escape code
Examples
use ansi_codes::{
ansi::{hide_cursor, set_cursor_position, show_cursor},
clear,
};
fn main() {
clear();
hide_cursor();
// show_cursor();
println!("Hello World!");
println!("Hello World!");
println!("Hello World!");
println!("Hello World!");
set_cursor_position(2, 3);
println!("\x1b[48;5;70m123456\x1b[0m");
loop {
}
}