Crates.io | notcurses |
lib.rs | notcurses |
version | 3.6.0 |
source | src |
created_at | 2019-12-25 13:01:01.872218 |
updated_at | 2024-10-03 11:38:03.104216 |
description | A high level Rust wrapper for the notcurses C library |
homepage | https://nick-black.com/dankwiki/index.php/Notcurses |
repository | https://github.com/dankamongmen/notcurses-rs |
max_upload_size | |
id | 192324 |
size | 234,891 |
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
:
Drop
trait implemented.*Options
structs are replaced by *Builder
s.