Expand description
A rusty notcurses wrapper.
Example
use notcurses::*;
fn main() -> NotcursesResult<()> {
let mut nc = Notcurses::new_cli()?;
let mut cli = nc.cli_plane()?;
cli.putstrln("\nhello world!")?;
cli.render()?;
Ok(())
}
Modules
- Reexport of
libnotcurses-sys
.
Macros
Structs
- The detected current terminal capabilities.
- A pair of both foreground and background
Channel
s. - A received input.
- A synthesized
Received
input event other than achar
. - A bitmask of keyboard modifiers.
- A bitmask of mice input events.
- Notcurses state for a given terminal, composed of
Plane
s. - A
Notcurses
builder. - An array of 256
Channel
s. - A drawable text surface, composed of
Cell
s. - A
Plane
builder. - The geometry of a
Plane
or a terminal. - A 2D position using a clamped
i32
. - A 24-bit RGB value.
- A 32-bit RGBA value.
- A 2D size using a positive clamped
i32
. - Runtime statistics.
- A bitmask of styles.
- A visual bit of multimedia.
- A
Visual
builder. - The geometry of a
Visual
. - The inner options of a
Visual
.
Enums
- Alignment within a
Plane
or terminal. - Alpha information, part of a
Channel
. - Blitter mode to use for rasterizing a
Visual
. - The type of the
Input
event. - Stderr log level.
- The Notcurses error type.
- Pixel blitting implementations, informative only.
- Indicates how to scale a
Visual
during rendering.
Type Aliases
- The Notcurses result type.