Function term::terminfo::parm::expand
[−]
[src]
pub fn expand(
cap: &[u8],
params: &[Param],
vars: &mut Variables
) -> Result<Vec<u8>, String>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Expand a parameterized capability
Arguments
cap
- string to expandparams
- vector of params for %p1 etcvars
- Variables struct for %Pa etc
To be compatible with ncurses, vars
should be the same between calls to expand
for
multiple capabilities for the same terminal.