2020-11-18 01:43:29 +00:00
|
|
|
use libnotcurses_sys::*;
|
|
|
|
|
2020-12-25 18:35:21 +00:00
|
|
|
fn main() -> NcResult<()> {
|
2021-01-02 18:45:15 +00:00
|
|
|
let mut nc = Notcurses::new()?;
|
2020-12-30 17:40:54 +00:00
|
|
|
let stdplane = nc.stdplane()?;
|
2020-11-18 01:43:29 +00:00
|
|
|
|
2020-12-30 17:40:54 +00:00
|
|
|
for ch in "Initializing cells...".chars() {
|
|
|
|
let cell = NcCell::with_char7b(ch);
|
|
|
|
stdplane.putc(&cell)?;
|
2021-01-02 18:45:15 +00:00
|
|
|
rsleep![&mut nc, 0, 40];
|
2020-11-18 01:43:29 +00:00
|
|
|
}
|
2020-12-30 17:40:54 +00:00
|
|
|
sleep![0, 900];
|
|
|
|
|
2020-12-25 18:35:21 +00:00
|
|
|
Ok(())
|
2020-11-18 01:43:29 +00:00
|
|
|
}
|