Module tmux_interface::formats
source · Expand description
The formats
module contains functions for working with tmux formats
Two steps
- Building format string
- Parsing variables output
§Build
§Example
#{window_active}
use tmux_interface::{Formats, Variable};
let mut f = Formats::new();
f.push(Variable::WindowActive);
f.to_string();
§Parse
VariableOutput FormatOutput Format Variable
§See Also
Re-exports§
pub use formats::Formats;
pub use formats_output::FormatsOutput;
pub use variable::Variable;
pub use variable_output::VariableOutput;