mirror of
https://github.com/tmux/tmux.git
synced 2025-04-13 23:08:49 +00:00
Do not complain when directions fail.
This commit is contained in:
parent
7382ba82c5
commit
69b8f100b7
@ -100,10 +100,8 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_q *cmdq)
|
|||||||
wp = window_pane_find_up(wp);
|
wp = window_pane_find_up(wp);
|
||||||
else if (args_has(self->args, 'D'))
|
else if (args_has(self->args, 'D'))
|
||||||
wp = window_pane_find_down(wp);
|
wp = window_pane_find_down(wp);
|
||||||
if (wp == NULL) {
|
if (wp == NULL)
|
||||||
cmdq_error(cmdq, "pane not found");
|
return (CMD_RETURN_NORMAL);
|
||||||
return (CMD_RETURN_ERROR);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (args_has(self->args, 'e')) {
|
if (args_has(self->args, 'e')) {
|
||||||
wp->flags &= ~PANE_INPUTOFF;
|
wp->flags &= ~PANE_INPUTOFF;
|
||||||
|
Loading…
Reference in New Issue
Block a user