From 7325da30526452578541e7b0fe79624e360e2b67 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 22 Aug 2025 07:42:51 +0000 Subject: [PATCH] Extend pane lookup special case for switch-client to mouse target ("=") so that it works for panes on status line. --- cmd-switch-client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd-switch-client.c b/cmd-switch-client.c index dc1b621a..0ff8cf99 100644 --- a/cmd-switch-client.c +++ b/cmd-switch-client.c @@ -61,7 +61,8 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item) const char *tablename; struct key_table *table; - if (tflag != NULL && tflag[strcspn(tflag, ":.%")] != '\0') { + if (tflag != NULL && + (tflag[strcspn(tflag, ":.%")] != '\0' || strcmp(tflag, "=") == 0)) { type = CMD_FIND_PANE; flags = 0; } else {