122 stable releases

3.10.1 Feb 22, 2024
3.10.0 Sep 8, 2023
3.9.1 Apr 13, 2023
3.8.0 Mar 6, 2023
1.2.4 Mar 24, 2020

#291 in Command-line interface

Download history 1/week @ 2024-02-09 87/week @ 2024-02-16 116/week @ 2024-02-23 39/week @ 2024-03-01 11/week @ 2024-03-08 11/week @ 2024-03-15 3/week @ 2024-03-22 70/week @ 2024-03-29 14/week @ 2024-04-05

88 downloads per month
Used in 5 crates (2 directly)

MIT/Apache

1MB
18K SLoC

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 current version is compatible with notcurses 3.0.9.

Current major version 3 is considered a development version.

Dependencies

~0–2.3MB
~37K SLoC