From 027ef55842c36b1b6182ebe334a92e402e39e54e Mon Sep 17 00:00:00 2001 From: 0WD0 Date: Thu, 18 Jun 2026 21:50:59 +0800 Subject: ime: refresh search matches after IME commit 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. --- search.h | 1 + 1 file changed, 1 insertion(+) (limited to 'search.h') diff --git a/search.h b/search.h index ee8ecd76..69d6e600 100644 --- a/search.h +++ b/search.h @@ -14,6 +14,7 @@ void search_input( const xkb_keysym_t *raw_syms, size_t raw_count, uint32_t serial); void search_add_chars(struct terminal *term, const char *text, size_t len); +void search_find_next(struct terminal *term, enum search_direction direction); void search_selection_cancelled(struct terminal *term); -- cgit v1.3