mirror of
https://github.com/tmux/tmux.git
synced 2025-01-13 03:48:51 +00:00
Fix select-pane -m, GitHub issuie 1490.
This commit is contained in:
parent
a00cdcdfcb
commit
8053b65f1e
@ -119,7 +119,7 @@ cmd_select_pane_exec(struct cmd *self, struct cmdq_item *item)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (args_has(args, 'm') || args_has(args, 'M')) {
|
if (args_has(args, 'm') || args_has(args, 'M')) {
|
||||||
if (args_has(args, 'm'))
|
if (args_has(args, 'm') && !window_pane_visible(wp))
|
||||||
return (CMD_RETURN_NORMAL);
|
return (CMD_RETURN_NORMAL);
|
||||||
lastwp = marked_pane.wp;
|
lastwp = marked_pane.wp;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user