mirror of
https://github.com/tmux/tmux.git
synced 2025-01-05 23:38:48 +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
78287e27c8
commit
5943cd1907
@ -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