Registry / cli / ncurses

ncurses

JSON →
library6.0.1rscratesunverified

A very thin wrapper around the ncurses TUI library.

# Cargo.toml [dependencies] ncurses = "6.0.1"
INSTALL
IMPORT
SIG · NCURSES
N
ncurses
clirustv6.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

initscr
use ncurses::initscr;

Initializes ncurses, prints a message, and waits for key press before exiting.

use ncurses::*; fn main() { initscr(); printw("Hello, world!"); refresh(); getch(); endwin(); }
Debug
Known issues
gotchaRequires ncurses development libraries installed on the system.
fix
Install ncurses via package manager (e.g., apt install libncurses-dev).
affects: >=6.0.0
Upgrade
Version history
6.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
Resources
ncurses — cargo add ncurses · libregistry