Skip to main content

Crate atm_tmux

Crate atm_tmux 

Source
Expand description

ATM Tmux — Thin async wrapper over the tmux CLI.

Provides the TmuxClient trait for tmux pane management, with a real implementation (RealTmuxClient) that shells out to tmux via tokio::process::Command, and a mock (MockTmuxClient) for testing.

All code follows the panic-free policy: no .unwrap(), .expect(), panic!(), unreachable!(), todo!(), or direct indexing [i].

Re-exports§

pub use client::RealTmuxClient;
pub use error::TmuxError;
pub use mock::MockTmuxClient;

Modules§

client
Real tmux client implementation.
error
Error types for tmux operations.
layout
Layout template system for ATM.
mock
Mock tmux client for testing.

Structs§

PaneInfo
Information about a single tmux pane.

Enums§

PaneDirection
Direction for placing a new pane relative to the target pane.

Traits§

TmuxClient
Async interface for tmux pane management.