dankamongmen / libnotcurses-sys

low-level rust wrappers for notcurses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

low-level rust wrappers for notcurses

License:Apache License 2.0


Languages

Language:Rust 100.0%Language:C 0.0%