From 5943cd1907d20381c527d4b3b338df090cbbb1de Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 17 Apr 2019 14:39:37 +0000 Subject: Document that switch-client can change all of session,window,pane and check for % in the target as well as ":.". --- cmd-switch-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-switch-client.c') 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 { -- cgit v1.2.3