tmux_step
Send keystrokes to a tmux pane, wait for redraw, and return the updated snapshot to automate TUI interactions.
Instructions
Send keys, wait briefly for redraw, then return a pane snapshot (one roundtrip for TUIs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ansi | No | Include escape sequences in capture (tmux -e). | |
| join | No | Join wrapped lines (tmux -J). | |
| keys | Yes | List of tmux key tokens or literal strings. | |
| enter | No | Append Enter after keys. | |
| literal | No | Use tmux send-keys -l (send literal text). | |
| delay_ms | No | Delay before capture (default 100ms). | |
| end_line | No | End line for capture (-E). Negative values count from bottom. | |
| alternate | No | Capture alternate screen (-a). Default false. | |
| session_id | Yes | ||
| start_line | No | Start line for capture (-S). Negative values count from bottom. | |
| strip_ansi | No | Strip ANSI/VT100 sequences from returned text. |