A rusty wrapper over notcurses, the most blingful TUI library.
use notcurses::*;
fn main() -> Result<()> {
let nc = Notcurses::new_cli()?;
let mut cli = nc.cli_plane()?;
cli.putstrln("\nhello world!")?;
cli.render()?;
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.
Main differences with libnotcurses-sys:
- Fully safe public API.
- Allocating types have the Drop trait implemented.
- Coordinates are used in the most common order: x, y.
- There is no direct mode, just use the CLI mode.
- The standard plane is now known as the CLI plane.
- The *Options structs are replaced by *Builders.
$ claude mcp add notcurses-rs \
-- python -m otcore.mcp_server <graph>