tmux_interface 0.3.2

Rust language library for communication with TMUX via CLI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[test]
fn to_string() {
    use crate::ClientFlags;

    let flags = ClientFlags {
        active_pane: Some(true),
        ignore_size: Some(true),
        no_output: Some(true),
        pause_after: Some(1),
        read_only: Some(true),
        wait_exit: Some(true),
    };

    assert_eq!(
        flags.to_string(),
        "active-pane,ignore-size,no-output,pause-after=1,read-only,wait-exit"
    );
}