Crates.io | libnotcurses-sys |
lib.rs | libnotcurses-sys |
version | 3.10.1 |
source | src |
created_at | 2020-01-15 06:47:09.497622 |
updated_at | 2024-02-22 11:28:31.646798 |
description | Low-level Rust bindings for the notcurses C library. |
homepage | https://nick-black.com/dankwiki/index.php/Notcurses |
repository | https://github.com/dankamongmen/libnotcurses-sys |
max_upload_size | |
id | 198541 |
size | 1,053,433 |
libnotcurses-sys
is a low-level Rust wrapper for the
notcurses C library
It's recommended to use the notcurses higher level bindings.
use libnotcurses_sys::*;
fn main() -> NcResult<()> {
let nc = unsafe { Nc::new_cli()? };
let stdplane = unsafe { nc.stdplane() };
stdplane.putstr("\nhello world!\n")?;
nc.render()?;
unsafe { nc.stop()? };
Ok(())
}
The current version is compatible with notcurses 3.0.9
.
Current major version 3
is considered a development version.