diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-27 15:13:45 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-31 15:47:36 -0700 |
| commit | abd7dd83a7c4263e0f48c777e85a43f9ccb7c092 (patch) | |
| tree | 9744c728a421e06075c51db3eb1f2873bb7fd45e /src/libterm/terminfo | |
| parent | ee7016d95f5ca8f6f27e83ba8e040ee95813840a (diff) | |
term: Switch field privacy as necessary
Diffstat (limited to 'src/libterm/terminfo')
| -rw-r--r-- | src/libterm/terminfo/mod.rs | 8 | ||||
| -rw-r--r-- | src/libterm/terminfo/parm.rs | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/libterm/terminfo/mod.rs b/src/libterm/terminfo/mod.rs index 978a8a09d0a..ff01a8406ed 100644 --- a/src/libterm/terminfo/mod.rs +++ b/src/libterm/terminfo/mod.rs @@ -15,13 +15,13 @@ use collections::HashMap; /// A parsed terminfo database entry. pub struct TermInfo { /// Names for the terminal - priv names: Vec<~str> , + pub names: Vec<~str> , /// Map of capability name to boolean value - priv bools: HashMap<~str, bool>, + pub bools: HashMap<~str, bool>, /// Map of capability name to numeric value - numbers: HashMap<~str, u16>, + pub numbers: HashMap<~str, u16>, /// Map of capability name to raw (unexpanded) string - strings: HashMap<~str, Vec<u8> > + pub strings: HashMap<~str, Vec<u8> > } pub mod searcher; diff --git a/src/libterm/terminfo/parm.rs b/src/libterm/terminfo/parm.rs index b80297174d8..aed752fcb09 100644 --- a/src/libterm/terminfo/parm.rs +++ b/src/libterm/terminfo/parm.rs @@ -48,9 +48,9 @@ pub enum Param { /// Container for static and dynamic variable arrays pub struct Variables { /// Static variables A-Z - priv sta: [Param, ..26], + sta: [Param, ..26], /// Dynamic variables a-z - priv dyn: [Param, ..26] + dyn: [Param, ..26] } impl Variables { |
