shell rmux new-session -d -s ci
rmux send-keys 'cargo test' Enter
rmux wait-for 'test result: ok'
rmux capture-pane
V0.1 — PUBLIC PREVIEW
RMUX keeps terminal work alive, scriptable, and inspectable. Usable as a tmux replacement from the shell, and drivable from Rust through sessions, windows, and panes.
Natively available on Windows , macOS , and Linux .
shell rmux new-session -d -s ci
rmux send-keys 'cargo test' Enter
rmux wait-for 'test result: ok'
rmux capture-pane
rust let rmux = Rmux::builder().connect_or_start().await?;
let session = rmux
.ensure_session(
EnsureSession::try_named("ci")?
.create_or_reuse()
.detached(true),
)
.await?;
let pane = session.pane(0, 0);
pane.send_text("cargo test\n").await?;
pane.wait_for_text("test result: ok").await?;
let snap = pane.snapshot().await?;
Pick your installer or grab the binary from GitHub releases.
cargo install rmux --lockedSame 90 commands. Aiming for same behaviour, same look.
When the keyboard is the user, tmux still fits. When code is the user, RMUX takes over.