41 stable releases (3 major)

3.5.0 Sep 8, 2023
3.4.1 Apr 23, 2023
3.2.3 Feb 23, 2023
3.1.0 Sep 26, 2022
0.9.2 Dec 25, 2019

#61 in Command-line interface

Download history 1/week @ 2024-02-06 124/week @ 2024-02-13 5/week @ 2024-02-20 24/week @ 2024-02-27 3/week @ 2024-03-05

157 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

220KB
4.5K SLoC

Crate API MSRV: 1.65.0

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

Example

use notcurses::*;

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

Status of the library

The current version is compatible with notcurses 3.0.9.

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.

Dependencies

~1.2–3.5MB
~58K SLoC