tinf
A low-level interface to terminfo databases.
Usage
Add this to your Cargo.toml:
[]
= "0.14.0"
and this to your crate root:
extern crate tinf;
Examples
use ;
// Find the description for "xterm" in the default locations.
let mut file = file?;
// Parse it into a `Desc` object.
let desc = parse?;
// Send the escape sequence to set foreground to red.
let stdout = &mut stdout;
let mut vars = new;
tparm?;