Comment on Show HN: Rmux – A programmable terminal multiplexer with a Playwright-style SDKparentComments−gobdovan3mo I think it's trying to be like a code-first/API alternative to Tmux. So instead of: ``` tmux new-session -d -s atmux send-keys -t a 'npm test' Entersleep 2tmux capture-pane -p -t a ``` you'd do something like: ``` pane.send_text("npm test\n").await?;pane.wait_for_text("Tests passed").await?;let snapshot = pane.snapshot().await?; ``` I don't know why it would be better for agents, maybe the author also works on an LLM agent harness.
Comments
tmux send-keys -t a 'npm test' Enter
sleep 2
tmux capture-pane -p -t a ```
``` pane.send_text("npm test\n").await?;pane.wait_for_text("Tests passed").await?;
let snapshot = pane.snapshot().await?; ```