Crates.io | notcurses |
lib.rs | notcurses |
version | 3.5.0 |
source | src |
created_at | 2019-12-25 13:01:01.872218 |
updated_at | 2023-09-08 11:25:18.286854 |
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 | 230,803 |
A rusty wrapper over notcurses, the most blingful TUI library.
use notcurses::*;
fn main() -> Result<()> {
let mut nc = Notcurses::new_cli()?;
let mut cli = nc.cli_plane()?;
cli.putstrln("\nhello world!")?;
cli.render()?;
Ok(())
}
The current version is compatible with notcurses 3.0.9
.
Current major version 3
is considered a development version.
Main differences with libnotcurses-sys
:
Drop
trait implemented.*Options
structs are replaced by *Builder
s.