40 stable releases (3 major)

3.4.1 Apr 23, 2023
3.2.3 Feb 23, 2023
3.1.0 Sep 26, 2022
3.0.3 Jul 25, 2022
0.9.2 Dec 25, 2019

#69 in Command-line interface

Download history 7/week @ 2023-01-16 51/week @ 2023-01-23 21/week @ 2023-01-30 119/week @ 2023-02-06 133/week @ 2023-02-13 85/week @ 2023-02-20 86/week @ 2023-02-27 19/week @ 2023-03-06 59/week @ 2023-03-13 6/week @ 2023-03-20 17/week @ 2023-03-27 44/week @ 2023-04-03 36/week @ 2023-04-10 66/week @ 2023-04-17 31/week @ 2023-04-24 19/week @ 2023-05-01

172 downloads per month
Used in 3 crates

MIT/Apache

220KB
4.5K SLoC

Crate API MSRV: 1.64.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–2.8MB
~54K SLoC