ncursesw-win Build Status Crates.io

This is a wrapper crate around the ncursesw crate, it's purpose is too abstracts away the raw pointers that ncurses uses and function in a more safe way, however a knowledge of how ncurses works is advised to use the true power of this library.

Please see the README.md for ncursesw for more details.

Inclusion

[dependencies] ncursesw-win = "0.3" Or to use the latest git version [dependencies] ncursesw-win = { git = "https://github.com/narfit66/ncursesw-win-rs" }

Building

The compiled library will be built in the target directory.

cargo build

How to Use

``` extern crate ncurseswwin;

use ncurseswwin::*; ```

To use attributes and color pairs use ncurseswwin::normal::*; // for 'ansi' color pairs and attributes... use ncurseswwin::extend::*; // or for 'extended' color pairs and attributes.

Examples

Examples are built by cargo build --examples. To run them, use cargo run --example <EXAMPLE>.

Current examples are Safe Initialisation/Calling Of NCurses (ncurseswentry-test), Ansi Border Drawing (border-test), Unicode Border Drawing (borderset-test), Unicode Box Drawing (boxdrawing-test), Mouse Events (mouse-test), Ripoff Lines (ripoff-test) and Non-Blocking Get (getchnonblocking-test).

Documentation

This at the moment is only partial but the end objective is to document the whole crate/library.

License

Licensed under the MIT license, see LICENSE