aboutsummaryrefslogtreecommitdiff
path: root/resize.c
diff options
context:
space:
mode:
authornicm <nicm>2020-06-04 20:41:57 +0000
committernicm <nicm>2020-06-04 20:41:57 +0000
commitc4732af0067d8cf8d2e45fa78ded6b8f308ec779 (patch)
tree7fd6946abbd1c044daf180e2e4436b02c62853da /resize.c
parent4403afe29c2106371ff43c28b9f0a3ed50fd61ee (diff)
downloadrtmux-c4732af0067d8cf8d2e45fa78ded6b8f308ec779.tar.gz
rtmux-c4732af0067d8cf8d2e45fa78ded6b8f308ec779.tar.bz2
rtmux-c4732af0067d8cf8d2e45fa78ded6b8f308ec779.zip
Some improvements to performance of searching:
- Do not allow searches to be repeated at intervals of less than 50 milliseconds, to prevent a huge queue of repeat key presses blocking up everything for ages. - If the search text hasn't changed, the match count can't have changed and there is no need to do a full search, so only search the visible text. This includes both scrolling and repeating the search. - Do not redraw twice when jumping to the search location. GitHub issue 2258.
Diffstat (limited to 'resize.c')
0 files changed, 0 insertions, 0 deletions