mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 23:21:08 +03:00
6d61ceac47
If you typed "cat" in the search, the chances are that wezterm would kick off a search for "c" before you finished typing, then "ca" and then finally "cat". There was a race: clear by_line highlights, queue search for "c" clear by_line highlights, queue search for "ca" clear by_line highlights, queue search for "cat" accumulate highlights for "c" into by_line accumulate highlights for "ca" into by_line accumulate highlights for "cat" into by_line so the final result was a superposition of all of those results, which was weird! The fix is simple: clear by_line when we get the results of an async search. |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |