diff options
Diffstat (limited to 'search.c')
| -rw-r--r-- | search.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -155,6 +155,14 @@ search_cancel(struct terminal *term) selection_cancel(term); } +void +search_selection_cancelled(struct terminal *term) +{ + term->search.match = (struct coord){-1, -1}; + term->search.match_len = 0; + render_refresh_search(term); +} + static void search_update_selection(struct terminal *term, int start_row, int start_col, |
