aboutsummaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'search.c')
-rw-r--r--search.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/search.c b/search.c
index 75f12b4a..20990c87 100644
--- a/search.c
+++ b/search.c
@@ -1392,23 +1392,6 @@ search_input(struct seat *seat, struct terminal *term,
* Key bindings
*/
- /* Match translated symbol */
- tll_foreach(bindings->search, it) {
- const struct key_binding *bind = &it->item;
-
- if (bind->k.sym == sym &&
- bind->mods == (mods & ~consumed)) {
-
- if (execute_binding(seat, term, bind, serial,
- &update_search_result, &search_direction,
- &redraw))
- {
- goto update_search;
- }
- return;
- }
- }
-
/* Match untranslated symbols */
tll_foreach(bindings->search, it) {
const struct key_binding *bind = &it->item;
@@ -1429,6 +1412,23 @@ search_input(struct seat *seat, struct terminal *term,
}
}
+ /* Match translated symbol */
+ tll_foreach(bindings->search, it) {
+ const struct key_binding *bind = &it->item;
+
+ if (bind->k.sym == sym &&
+ bind->mods == (mods & ~consumed)) {
+
+ if (execute_binding(seat, term, bind, serial,
+ &update_search_result, &search_direction,
+ &redraw))
+ {
+ goto update_search;
+ }
+ return;
+ }
+ }
+
/* Match raw key code */
tll_foreach(bindings->search, it) {
const struct key_binding *bind = &it->item;