notcurses

Crates.ionotcurses
lib.rsnotcurses
version3.6.0
sourcesrc
created_at2019-12-25 13:01:01.872218
updated_at2024-10-03 11:38:03.104216
descriptionA high level Rust wrapper for the notcurses C library
homepagehttps://nick-black.com/dankwiki/index.php/Notcurses
repositoryhttps://github.com/dankamongmen/notcurses-rs
max_upload_size
id192324
size234,891
José Luis Cruz (joseluis)

documentation

README

Crate API MSRV: 1.65.0

A rusty wrapper over notcurses, the most blingful TUI library.

Example

use notcurses::*;

fn main() -> Result<()> {
    let nc = Notcurses::new_cli()?;
    let mut cli = nc.cli_plane()?;
    cli.putstrln("\nhello world!")?;
    cli.render()?;
    Ok(())
}

Status of the library

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.
Commit count: 205

cargo fmt