mirror of
https://github.com/tmate-io/tmate.git
synced 2025-04-01 11:26:20 +02: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