tmux_interface 0.4.0

Rust language library for communication with TMUX via CLI
Documentation
1
2
3
4
5
6
7
8
9
#[test]
fn from_string() {
    use crate::VariableOutput;

    let mut f: Option<bool> = None;
    let f_str = "1";
    VariableOutput::from_string_ext(f_str, &mut VariableOutput::WindowActive(&mut f));
    assert_eq!(f, Some(true));
}