newt-rs

Rust bindings for the Newt console UI library.

Usage

Include newt as a dependency of in your Cargo.toml file as follows.

[dependencies] newt = "0.5"

The library API is currently subject to change and there are likely to be breaking changes between minor versions.

asm feature

Some library functions such as windows::win_menu(), windows::win_entries(), and Grid related functions require the nightly build of the Rust compiler and the newt asm feature to be enabled. These are currently only available on the x86 and x86_64 architectures.

Enable the feature as follows in your Cargo.toml file.

[features] default = ["newt/asm"]

LICENSE

Copyright (C) 2018,2019 Robert Gill

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA