40 releases

✓ Uses Rust 2018 edition

0.6.1 Aug 5, 2019
0.6.0 Jul 26, 2019
0.5.2 Mar 28, 2019
0.5.1 Feb 23, 2018
0.1.1 Dec 29, 2014

#10 in Command-line interface

Download history 40633/week @ 2019-04-22 38037/week @ 2019-04-29 37861/week @ 2019-05-06 43377/week @ 2019-05-13 54064/week @ 2019-05-20 54019/week @ 2019-05-27 52126/week @ 2019-06-03 51106/week @ 2019-06-10 60210/week @ 2019-06-17 52692/week @ 2019-06-24 45310/week @ 2019-07-01 45211/week @ 2019-07-08 42597/week @ 2019-07-15 44421/week @ 2019-07-22 47880/week @ 2019-07-29

206,752 downloads per month
Used in 1,117 crates (137 directly)

MIT/Apache

110KB
2.5K SLoC

term

A Rust library for terminfo parsing and terminal colors.

Build Status Build status

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]

term = "*"

and this to your crate root:

extern crate term;

Packaging and Distributing

For all terminals but windows consoles, this library depends on a non-hashed (for now) terminfo database being present. For example, on Debian derivitives, you should depend on ncurses-term; on Arch Linux, you depend on ncurses; and on MinGW, you should depend on mingw32-terminfo.

Unfortunately, if you're using a non-windows console on Windows (e.g. MinGW, Cygwin, Git Bash), you'll need to set the TERMINFO environment variable to point to the directory containing the terminfo database.

Dependencies

~230KB