mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-28 13:23:50 +00:00
Do not complain when directions fail.
This commit is contained in:
parent
7382ba82c5
commit
69b8f100b7
1 changed files with 2 additions and 4 deletions
|
|
@ -100,10 +100,8 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_q *cmdq)
|
|||
wp = window_pane_find_up(wp);
|
||||
else if (args_has(self->args, 'D'))
|
||||
wp = window_pane_find_down(wp);
|
||||
if (wp == NULL) {
|
||||
cmdq_error(cmdq, "pane not found");
|
||||
return (CMD_RETURN_ERROR);
|
||||
}
|
||||
if (wp == NULL)
|
||||
return (CMD_RETURN_NORMAL);
|
||||
|
||||
if (args_has(self->args, 'e')) {
|
||||
wp->flags &= ~PANE_INPUTOFF;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue