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 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.
$ claude mcp add libnotcurses-sys \
-- python -m otcore.mcp_server <graph>