• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

src/H03-May-2022-2,8192,248

tests/H03-May-2022-3227

.cargo-checksum.jsonH A D03-May-202289 11

.cargo_vcs_info.jsonH A D01-Jan-197074 65

.gitignoreH A D04-Oct-201520 32

Cargo.tomlH A D01-Jan-19701.3 KiB4136

Cargo.toml.orig-cargoH A D28-Mar-2019759 3024

LICENSE-APACHEH A D04-Oct-201510.6 KiB202169

LICENSE-MITH A D04-Oct-20151 KiB2622

README.mdH A D27-Jul-20181 KiB3724

rustfmt.tomlH A D27-Jul-201887 43

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