aboutsummaryrefslogtreecommitdiff
path: root/cmd-switch-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2019-04-08 09:36:34 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2019-04-08 10:38:50 +0100
commitb5b67c538605fef234aa8ea95c0e277449dac4fc (patch)
treef1ab9c36c608e29b809116a36ef9a5614b07a79c /cmd-switch-client.c
parentfbe488e4de34e9d4930f245844d0fc8ee07d39ef (diff)
downloadrtmux-b5b67c538605fef234aa8ea95c0e277449dac4fc.tar.gz
rtmux-b5b67c538605fef234aa8ea95c0e277449dac4fc.tar.bz2
rtmux-b5b67c538605fef234aa8ea95c0e277449dac4fc.zip
Document that switch-client can change all of session,window,pane and check for
% in the target as well as ":.".
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r--cmd-switch-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c
index a4f55102..8f51d0fe 100644
--- a/cmd-switch-client.c
+++ b/cmd-switch-client.c
@@ -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 {