From 87f5eddea0bcc4645be09acc64f2253cb1a9c3cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Tue, 4 Oct 2016 13:27:48 +0200 Subject: Bump termo, use termo_strpkey_utf8() --- nncmpp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nncmpp.c') diff --git a/nncmpp.c b/nncmpp.c index 5ca91fb..d14a824 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -1442,8 +1442,7 @@ app_process_termo_event (termo_key_t *event) { struct binding *binding = &g_default_bindings[i]; termo_key_t key; - // FIXME: I've made termo parse it as a multibyte string, I want UTF-8 - hard_assert (!*termo_strpkey (g_ctx.tk, binding->key, &key, + hard_assert (!*termo_strpkey_utf8 (g_ctx.tk, binding->key, &key, TERMO_FORMAT_ALTISMETA)); if (!termo_keycmp (g_ctx.tk, event, &key)) return app_process_user_action (binding->action); -- cgit v1.2.3