1 2 3 4 5 6 7 8 9
use screen_buffer::{Buffer, console::Style}; fn main() { let mut buf = Buffer::new(); let term = console::Term::stdout(); term.clear_screen().unwrap(); buf.puts(0, 0, "Hello World\n".to_string(), Style::new()); buf.flush(); }