The argument to join-pane is a pane specifier. If no dot is used to
separate the window and pane parts, join-pane treats the argument as
a window and joins pane zero from that window.
Thus strictly speaking the pane part of the command prompt should be
shown as optional rather than the window part.
# Move the current pane into a separate window.
bind b break-pane
# Split another pane into this window.
-bind B command-prompt -p "Select [<window>.]<pane> to join:" 'join-pane -s %1'
+bind B command-prompt -p "Select <window>[.<pane>] to join:" 'join-pane -s %1'
# Split vertically.
bind C-\ split-window -v
# Next pane.