This commit is contained in:
lbia.xyz 2022-10-04 02:14:53 +02:00
commit fd187cc491
No known key found for this signature in database
GPG key ID: 6774C7B38E986DF1
50 changed files with 1530 additions and 481 deletions

View file

@ -18,6 +18,7 @@
#include "render.h"
#include "selection.h"
#include "shm.h"
#include "unicode-mode.h"
#include "util.h"
#include "xmalloc.h"
@ -371,6 +372,9 @@ find_next(struct terminal *term, enum search_direction direction,
i += additional_chars;
match_len += additional_chars;
match_end_col++;
while (match_row->cells[match_end_col].wc > CELL_SPACER)
match_end_col++;
}
if (match_len != term->search.len) {
@ -1000,6 +1004,10 @@ execute_binding(struct seat *seat, struct terminal *term,
*update_search_result = *redraw = true;
return true;
case BIND_ACTION_SEARCH_UNICODE_INPUT:
unicode_mode_activate(seat);
return true;
case BIND_ACTION_SEARCH_COUNT:
BUG("Invalid action type");
return true;