libnotcurses-sys

Crates.iolibnotcurses-sys
lib.rslibnotcurses-sys
version3.11.0
sourcesrc
created_at2020-01-15 06:47:09.497622
updated_at2024-10-03 10:52:26.698891
descriptionLow-level Rust bindings for the notcurses C library.
homepagehttps://nick-black.com/dankwiki/index.php/Notcurses
repositoryhttps://github.com/dankamongmen/libnotcurses-sys
max_upload_size
id198541
size1,040,509
José Luis Cruz (joseluis)

documentation

https://docs.rs/libnotcurses-sys/

README

Crate API MSRV: 1.65.0

libnotcurses-sys is a low-level Rust wrapper for the notcurses C library

It's recommended to use the notcurses higher level bindings.

Example

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(())
}

Versioning

The latest released version is compatible with notcurses 3.0.11. The unreleased version is compatible with notcurses unreleased master branch.

Current major version 3 is considered a development version.

Commit count: 974

cargo fmt