mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
c8a706117f
@ -389,7 +389,7 @@ cmd_find_get_window_with_session(struct cmd_find_state *fs, const char *window)
|
|||||||
return (-1);
|
return (-1);
|
||||||
fs->idx = s->curw->idx + n;
|
fs->idx = s->curw->idx + n;
|
||||||
} else {
|
} else {
|
||||||
if (n < s->curw->idx)
|
if (n > s->curw->idx)
|
||||||
return (-1);
|
return (-1);
|
||||||
fs->idx = s->curw->idx - n;
|
fs->idx = s->curw->idx - n;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user