Struct term::terminfo::TermInfo [] [src]

pub struct TermInfo {
    pub names: Vec<String>,
    pub bools: HashMap<&'static str, bool>,
    pub numbers: HashMap<&'static str, u32>,
    pub strings: HashMap<&'static str, Vec<u8>>,
}

A parsed terminfo database entry.

Fields

Names for the terminal

Map of capability name to boolean value

Map of capability name to numeric value

Map of capability name to raw (unexpanded) string

Methods

impl TermInfo
[src]

[src]

Create a TermInfo based on current environment.

[src]

Create a TermInfo for the named terminal.

[src]

Parse the given TermInfo.

[src]

Retrieve a capability cmd and expand it with params, writing result to out.

[src]

Write the reset string to out.

Trait Implementations

impl Debug for TermInfo
[src]

[src]

Formats the value using the given formatter.

impl Clone for TermInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more