tmux_interface 0.0.4

Rust language library for communication with TMUX via CLI
Documentation

tmux_interface

Build Status Crates.io Documentation

Description

tmux_interface is a rust language library for communication with TMUX via CLI.

Usage

  1. Add a dependency in your Cargo.toml

    [dependencies]
    tmux_interface = "^0.1.0"
    
  2. Add extern crate and use in your source file

    extern crate tmux_interface;
    
  3. Use it's functions

    let tmux = TmuxInterface::new();
    let new_session = NewSession {
        detached: Some(true),
        session_name: Some("session_name"),
        ..Default::default()
    };
    tmux.new_session(&new_session).unwrap();
    tmux.kill_session(None, None, Some("session_name")).unwrap();
    

Misc

  • Versions below 0.1.0 are first public releases, mostly for development and testing purposes. Do not use them in your Projects.

  • Used in mosaic - tmux manager

  • Tested on: tmux 2.8

Directory Structure

License

tmux_interface is licensed under the MIT license. Please read the license file in this repository for more information.