Crates.io | termbox2-rs |
lib.rs | termbox2-rs |
version | 0.1.0 |
source | src |
created_at | 2022-07-06 11:41:44.959549 |
updated_at | 2022-07-06 11:41:44.959549 |
description | Simple Rust bindings to termbox2 |
homepage | https://github.com/benanders/termbox2-rs |
repository | https://github.com/benanders/termbox2-rs |
max_upload_size | |
id | 620414 |
size | 267,701 |
Very simple Rust bindings to termbox2.
A simple example:
use termbox2::*;
fn main() {
let mut ev = Event::default();
unsafe {
tb_init();
tb_clear();
tb_present();
tb_poll_event(&mut ev);
tb_shutdown();
}
}