tmux_interface 0.4.0

Rust language library for communication with TMUX via CLI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[test]
#[cfg(feature = "tmux_1_5")]
fn action() {
    use crate::DestroyUnattached;

    assert_eq!(DestroyUnattached::Off.to_string(), "off");
    assert_eq!(DestroyUnattached::On.to_string(), "on");
    #[cfg(feature = "tmux_3_4")]
    assert_eq!(DestroyUnattached::KeepLast.to_string(), "keep-last");
    #[cfg(feature = "tmux_3_4")]
    assert_eq!(DestroyUnattached::KeepGroup.to_string(), "keep-group");
}