#curses #pancurses #ncurses #memory-safety #pdcurses

pancurses-result

pancurses-result is a wrapper for pancurses that aims to provide a safe interface to curses. This library aims to guarantee thread and memory safety, whereas pancurses just provides direct C bindings.

6 releases (breaking)

Uses old Rust 2015

0.5.1 Dec 30, 2018
0.5.0 Dec 29, 2018
0.4.0 Dec 29, 2018
0.3.0 Dec 28, 2018
0.1.0 Dec 26, 2018

#796 in Command-line interface

MIT license

50KB
759 lines

pancurses-result is a wrapper for pancurses that aims to provide a safe interface to curses. This library aims to guarantee thread and memory safety, whereas pancurses just provides direct C bindings.

Many curses functions have been renamed for one reason or another. All renamed functions state the curses function they corollate to.

The outermost class is Curses. It is initialized via initscr. Use its methods to manipulate the curses instance.

Curses manages the Window representing stdscr.

Dependencies

~0.2–0.9MB
~15K SLoC