From 04191564946d3ba6c1c49e5041e4bd0cda819043 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 18 Mar 2020 15:30:14 +0100 Subject: search: replace hard-coded key bindings with "user configurable" ones They aren't really user configurable. At least not yet. However, with this, we now handle raw key codes just like the normal key bindings. Meaning, e.g. ctrl+g, ctrl+a, ctrl+e etc now works while searching with e.g. a russian layout. --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.h') diff --git a/config.h b/config.h index 5d6ec0f0..596aa368 100644 --- a/config.h +++ b/config.h @@ -47,7 +47,7 @@ struct config { /* While searching (not - action to *start* a search is in the * 'key' bindings above */ - char *search[BIND_ACTION_COUNT]; + char *search[BIND_ACTION_SEARCH_COUNT]; } bindings; struct { -- cgit v1.3