Merge branch 'master' into develop

This commit is contained in:
Enno Rehling 2021-06-15 22:35:54 +02:00
commit 4c64affdfc
1 changed files with 17 additions and 0 deletions

View File

@ -854,6 +854,23 @@ static void select_regions(state * st, int selectmode)
}
}
}
else if (findmode == 'v') {
region *r;
/* fresh virgin regions */
sprintf(sbuffer, "%svirgin", status);
statusline(st->wnd_status->handle, sbuffer);
for (r = regions; r; r = r->next) {
if (r->age == 0) {
if (selectmode & MODE_SELECT) {
select_coordinate(st->selected, r->x, r->y,
selectmode == MODE_SELECT);
}
else {
highlight_region(r, selectmode == MODE_MARK);
}
}
}
}
else if (findmode == 'c') {
region *r;
sprintf(sbuffer, "%schaos", status);