Fixes scrollback search not highlighting matches after IME commit (e.g. CJK input).
Fixes scrollback search not highlighting matches after IME commit (e.g. CJK input).
0wd0/ime-search-refresh into master
AGit
Fixes scrollback search not highlighting matches after IME commit (e.g. CJK input).
The IME commit handler appended text to the search buffer and refreshed the search box, but never called search_find_next(). CJK input into scrollback search therefore showed no match until another key press re-triggered the regular search input path. Call search_find_next() in the commit branch, and apply the same fix to unicode-mode.c. To allow this, search_find_next() is no longer static.
@ -61,2 +60,3 @@
if (term->is_searching) {
search_add_chars(term, utf8, chars);
else
search_find_next(term, SEARCH_BACKWARD_SAME_POSITION);
Do we need a render_refresh_search() too?
Nop. There are unicode_mode_deactivate -> unicode_mode_updated -> render_refresh_search already.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?