summaryrefslogtreecommitdiff
path: root/nncmpp.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-10-04 13:27:48 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-10-04 13:27:48 +0200
commit87f5eddea0bcc4645be09acc64f2253cb1a9c3cb (patch)
tree712da07b432358b19c9c8ce339867e5ed4c6c375 /nncmpp.c
parent4a5be612c52affa50d2d6491acfb010e00ad6b24 (diff)
downloadnncmpp-87f5eddea0bcc4645be09acc64f2253cb1a9c3cb.tar.gz
nncmpp-87f5eddea0bcc4645be09acc64f2253cb1a9c3cb.tar.xz
nncmpp-87f5eddea0bcc4645be09acc64f2253cb1a9c3cb.zip
Bump termo, use termo_strpkey_utf8()
Diffstat (limited to 'nncmpp.c')
-rw-r--r--nncmpp.c3
1 files changed, 1 insertions, 2 deletions
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);