tmux_copy_search
Search tmux scrollback in copy mode for a pattern (backward/forward) to find output. Returns search result.
Instructions
Search the scrollback in copy mode for pattern.
backward=True searches towards the top of history (the usual direction for finding recent output); set backward=False to search forward. Enters copy mode first if needed. Requires tmux 2.4+. Returns {"searched": ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_pane | Yes | ||
| pattern | Yes | ||
| backward | No | ||
| target | No |