mirror of
https://github.com/tmux/tmux.git
synced 2024-11-15 17:08:54 +00:00
Document that switch-client can change all of session,window,pane and check for
% in the target as well as ":.".
This commit is contained in:
parent
fbe488e4de
commit
b5b67c5386
@ -61,7 +61,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item)
|
||||
if ((c = cmd_find_client(item, args_get(args, 'c'), 0)) == NULL)
|
||||
return (CMD_RETURN_ERROR);
|
||||
|
||||
if (tflag != NULL && tflag[strcspn(tflag, ":.")] != '\0') {
|
||||
if (tflag != NULL && tflag[strcspn(tflag, ":.%")] != '\0') {
|
||||
type = CMD_FIND_PANE;
|
||||
flags = 0;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user