blocking search for large scrollback
By joernhe... on April 12, 2014 15:06 (imported from Google Code)
The current search functionality does a search as you type which is nice. The problem is that the search seems to be done in the gui frontend thread, so if you have a large scrollback (~ 10000 lines) and try to search for something like "about" you start typing with "a"... full gui lockup for all iterm windows as there's probably many thousand "a"s in the scrollback that it now wants to highlight.
The perfect solution would probably be a non-blocking search in background so the gui stays responsive and the search is abortable.
Maybe two easier to implement but still pretty practical solutions would be:
- don't start as you type search for less than 3 chars (configurable), only search these when user hits return.
- don't start as you type search for less than 3 chars (configurable) within 250ms of typing the last search char