Wait for output pattern
tmux_wait_for_pattern_taskPoll a tmux pane for a regex pattern and finish when matched or after maximum polling iterations.
Instructions
Poll a pane for a regex pattern and complete when matched or after iterations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | SSH host alias (optional). Uses default host if set. | |
| flags | No | Regex flags (e.g., i) | |
| lines | No | Lines per fetch. | |
| target | No | Pane target to watch (pane id or session:window.pane). If omitted, uses default pane if set. | |
| pattern | Yes | Regex pattern to search for. | |
| intervalMs | No | Delay between polls in milliseconds. | |
| iterations | No | Max polling iterations. |