]> git.lizzy.rs Git - rust.git/blob - src/libterm/terminfo/mod.rs
de8a1dcc363c759538bfd1db4bab3e818438fbe8
[rust.git] / src / libterm / terminfo / mod.rs
1 // Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 #[allow(missing_doc)];
12
13 use collections::HashMap;
14
15 /// A parsed terminfo entry.
16 pub struct TermInfo {
17     /// Names for the terminal
18     priv names: ~[~str],
19     /// Map of capability name to boolean value
20     priv bools: HashMap<~str, bool>,
21     /// Map of capability name to numeric value
22     numbers: HashMap<~str, u16>,
23     /// Map of capability name to raw (unexpanded) string
24     strings: HashMap<~str, ~[u8]>
25 }
26
27 pub mod searcher;
28 pub mod parser {
29     pub mod compiled;
30 }
31 pub mod parm;