mirror of
https://github.com/tmux/tmux.git
synced 2025-01-27 00:18:49 +00:00
Fix search forward so it can match strings on the last line, SF bug
3571114 from "LiJunLe".
This commit is contained in:
parent
84612a8196
commit
0d0b3cf9a4
@ -1068,7 +1068,7 @@ window_copy_search_down(struct window_pane *wp, const char *searchstr)
|
||||
|
||||
retry:
|
||||
sgd = ss.grid;
|
||||
for (i = fy + 1; i < gd->hsize + gd->sy; i++) {
|
||||
for (i = fy + 1; i < gd->hsize + gd->sy + 1; i++) {
|
||||
first = 0;
|
||||
if (i == fy + 1)
|
||||
first = fx;
|
||||
|
Loading…
Reference in New Issue
Block a user