mirror of
https://github.com/tmux/tmux.git
synced 2025-12-17 00:02:23 -05: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:
parent
e6d275b371
commit
7325da3052
@ -61,7 +61,8 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item)
|
|||||||
const char *tablename;
|
const char *tablename;
|
||||||
struct key_table *table;
|
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;
|
type = CMD_FIND_PANE;
|
||||||
flags = 0;
|
flags = 0;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user