Skip to content

Commit ee8e7bb

Browse files
committed
Server(fix[confirm_before,command_prompt]): -b requires tmux 3.3+, not 3.4+
why: The -b flag for confirm-before and command-prompt was added in tmux 3.3, not 3.4. Verified across version worktrees: tmux-3.2a has args "p:t:" while tmux-3.3 has "bp:t:". what: - Change "Requires tmux 3.4+" to "Requires tmux 3.3+" in both docstrings
1 parent ace77b9 commit ee8e7bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libtmux/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ def confirm_before(
840840
Always uses ``-b`` (background) to avoid blocking the command queue.
841841
Use ``send-keys -K -c <client>`` to provide the confirmation key.
842842
843-
Requires tmux 3.4+ for ``-b`` flag support.
843+
Requires tmux 3.3+ for ``-b`` flag support.
844844
845845
Parameters
846846
----------
@@ -905,7 +905,7 @@ def command_prompt(
905905
Always uses ``-b`` (background) to avoid blocking the command queue.
906906
Use ``send-keys -K -c <client>`` to type into the prompt and submit.
907907
908-
Requires tmux 3.4+ for ``-b`` flag support.
908+
Requires tmux 3.3+ for ``-b`` flag support.
909909
910910
Parameters
911911
----------

0 commit comments

Comments
 (0)