What problem does it solve?
This skill addresses the need for efficient and effective communication with non-focus panes in tmux, ensuring a more fluid workflow when running complex operations and scripts.
Core Features & Use Cases
- Input and Output Operations: Interact with tmux panes outside the focus pane for sending commands and receiving outputs.
- Vim Mode Interaction: Supports submission and error prevention within Vim-based editors or REPLs.
- Output Reading: Captures and analyzes output from the tmux panes to assist with debugging and development.
- Polling Mechanisms: Includes polling functions to wait for a specific response from the pane.
Quick Start
To execute a command in the pane of the tmux server with ID :0.0 and then poll for a regex pattern with a 30-second timeout and a 0.5-second interval, run: scripts/wait-for-text.sh -t ':0.0' -p '^>' -T 30 -i 0.5.