version 1.308, 2020/12/28 09:36:26 |
version 1.309, 2021/01/06 07:29:49 |
|
|
struct screen *s = data->backing, ss; |
struct screen *s = data->backing, ss; |
struct screen_write_ctx ctx; |
struct screen_write_ctx ctx; |
struct grid *gd = s->grid; |
struct grid *gd = s->grid; |
int found, cis, which = -1, stopped = 0; |
int found, cis, stopped = 0; |
int cflags = REG_EXTENDED; |
int cflags = REG_EXTENDED; |
u_int px, py, i, b, nfound = 0, width; |
u_int px, py, i, b, nfound = 0, width; |
u_int ssize = 1, start, end; |
u_int ssize = 1, start, end; |
|
|
if (!found) |
if (!found) |
break; |
break; |
} |
} |
|
|
nfound++; |
nfound++; |
if (px == data->cx && |
|
py == gd->hsize + data->cy - data->oy) |
|
which = nfound; |
|
|
|
if (window_copy_search_mark_at(data, px, py, &b) == 0) { |
if (window_copy_search_mark_at(data, px, py, &b) == 0) { |
if (b + width > gd->sx * gd->sy) |
if (b + width > gd->sx * gd->sy) |
|
|
else |
else |
data->searchgen++; |
data->searchgen++; |
} |
} |
|
|
px += width; |
px += width; |
} |
} |
|
|