kittyfb 0.1.2

renders pictures to a kitty terminal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::io;
use io::Write;

pub fn reset_cursor() -> io::Result<()> {
    let stdout = std::io::stdout();
    let mut handle = stdout.lock();

    handle.write_all(b"\x1b[;H")?;
    handle.flush()?;

    Ok(())
}