You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
notcurses/rust/examples/full-basics.rs

16 lines
320 B
Rust

use libnotcurses_sys::*;
fn main() -> NcResult<()> {
let mut nc = FullMode::new()?;
let stdplane = nc.stdplane();
for ch in "Initializing cells...".chars() {
let cell = NcCell::with_char7b(ch);
stdplane.putc(&cell)?;
rsleep![&mut nc, 0, 40];
}
sleep![0, 900];
Ok(())
}