Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
src/ | H | 03-May-2022 | - | 2,819 | 2,248 | |
tests/ | H | 03-May-2022 | - | 32 | 27 | |
.cargo-checksum.json | H A D | 03-May-2022 | 89 | 1 | 1 | |
.cargo_vcs_info.json | H A D | 01-Jan-1970 | 74 | 6 | 5 | |
.gitignore | H A D | 04-Oct-2015 | 20 | 3 | 2 | |
Cargo.toml | H A D | 01-Jan-1970 | 1.3 KiB | 41 | 36 | |
Cargo.toml.orig-cargo | H A D | 28-Mar-2019 | 759 | 30 | 24 | |
LICENSE-APACHE | H A D | 04-Oct-2015 | 10.6 KiB | 202 | 169 | |
LICENSE-MIT | H A D | 04-Oct-2015 | 1 KiB | 26 | 22 | |
README.md | H A D | 27-Jul-2018 | 1 KiB | 37 | 24 | |
rustfmt.toml | H A D | 27-Jul-2018 | 87 | 4 | 3 |
README.md
1term 2==== 3 4A Rust library for terminfo parsing and terminal colors. 5 6[![Build Status](https://travis-ci.org/Stebalien/term.svg?branch=master)](https://travis-ci.org/Stebalien/term) 7[![Build status](https://ci.appveyor.com/api/projects/status/2duvop23k4n3owyt?svg=true)](https://ci.appveyor.com/project/Stebalien/term) 8 9[Documentation](https://stebalien.github.io/doc/term/term/) 10 11## Usage 12 13Add this to your `Cargo.toml`: 14 15```toml 16[dependencies] 17 18term = "*" 19``` 20 21and this to your crate root: 22 23```rust 24extern crate term; 25``` 26 27## Packaging and Distributing 28 29For all terminals but windows consoles, this library depends on a non-hashed 30(for now) terminfo database being present. For example, on Debian derivitives, 31you should depend on ncurses-term; on Arch Linux, you depend on ncurses; and on 32MinGW, you should depend on mingw32-terminfo. 33 34Unfortunately, if you're using a non-windows console on Windows (e.g. MinGW, 35Cygwin, Git Bash), you'll need to set the TERMINFO environment variable to 36point to the directory containing the terminfo database. 37