aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/io.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/io.c b/src/io.c
index b8fccfd..884e3a9 100644
--- a/src/io.c
+++ b/src/io.c
@@ -729,6 +729,11 @@ void io_load_keys(const char *pager)
io_log_print(log, line, _("Could not read key label"));
continue;
}
+
+ /* Skip legacy entries. */
+ if (strcmp(key_label, "generic-cut") == 0)
+ continue;
+
ht_entry.label = key_label;
p = buf + strlen(key_label) + 1;
ht_elm = HTABLE_LOOKUP(ht_keybindings, &ht_keys, &ht_entry);