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

Modules