mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
19 lines
417 B
Rust
19 lines
417 B
Rust
use libnotcurses_sys::*;
|
|
|
|
fn main() {
|
|
unsafe {
|
|
let nc = Notcurses::new();
|
|
let stdplane = notcurses_stdplane(nc);
|
|
|
|
for ch in "Initializing cells...".chars() {
|
|
let cell = NcCell::with_char7b(ch);
|
|
sleep![60];
|
|
ncplane_putc(&mut *stdplane, &cell);
|
|
let _ = notcurses_render(nc);
|
|
}
|
|
sleep![900];
|
|
|
|
notcurses_stop(nc);
|
|
}
|
|
}
|