mirror of https://github.com/tmux/tmux.git
Fix search forward so it can match strings on the last line, SF bug
3571114 from "LiJunLe".pull/1/head
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