mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 04:27:00 +00:00
Extend pane lookup special case for switch-client to mouse target ("=")
so that it works for panes on status line.
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user