tmux -t accepts {current} and {active}
Introduced 2026-06-26 · score 0.93
HOW TO USE IT
When targeting a window or pane with `-t`, use `-t '{current}'` for the current window or `-t '{active}'` for the active pane. Pick a command that accepts the corresponding target type.
tmux select-window -t '{current}'tmux select-pane -t '{active}'WHY THIS HELPS
Target the current window or active pane with `-t`.
REQUIREMENTS AND LIMITATIONS
- Version: 3.7
- -t target-window (required): For commands needing a window target, specifies the target window; `{current}` means the current window.
- -t target-pane (required): For commands needing a pane target, specifies the target pane; `{active}` means the active pane.
FIRST-PARTY EVIDENCE
Check the installed version and the source before using it. Entry JSON