pub fn expand(
cap: &[u8],
params: &[Param],
vars: &mut Variables,
) -> Result<Vec<u8>, Error>Expand description
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.