Verified65% confidenceFactTime unknown
Tmux provides the tmux capture-pane command to capture the content of any pane as text, and the tmux send-keys command allows sending keyboard input to a specified pane.
3
Sources
65%
Confidence
Long-term
Relevance
5/31/2026
First Seen
Sources
Related Entities
Related Claims
Unverifiedtmux提供capture-pane命令,允许程序化地读取任意窗格的当前显示内容78% similarUnverifiedtmux capture-pane -p can export the currently visible content of a target pane as text, and is often used to poll output to determine whether Claude Code has returned to the prompt.74% similarUnverifiedtmux send-keys directly simulates keyboard input and does not depend on the program itself providing an API, so it works universally for any CLI tool, but it cannot sense whether the program is ready, so it usually needs to be combined with tmux capture-pane or added delays to ensure reliability.73% similarUnverifiedtmux allows users to return to their original workspace after reconnecting by creating detachable/attachable sessions on the server side, requiring the user to manually run tmux attach.70% similarUnverifiedtmux is a general-purpose session management tool that only cares whether a process is alive, not what is running inside the pane.65% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/6309API
curl https://kongchang.com/api/v1/knowledge/claims/6309MCP
get_claim(id=6309)