diff options
author | nicm <nicm> | 2020-06-04 20:41:57 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-06-04 20:41:57 +0000 |
commit | c4732af0067d8cf8d2e45fa78ded6b8f308ec779 (patch) | |
tree | 7fd6946abbd1c044daf180e2e4436b02c62853da /resize.c | |
parent | 4403afe29c2106371ff43c28b9f0a3ed50fd61ee (diff) | |
download | rtmux-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