Bump termo, use termo_strpkey_utf8()

This commit is contained in:
Přemysl Eric Janouch 2016-10-04 13:27:48 +02:00
parent 4a5be612c5
commit 87f5eddea0
Signed by: p
GPG Key ID: B715679E3A361BE6
2 changed files with 2 additions and 3 deletions

View File

@ -1442,8 +1442,7 @@ app_process_termo_event (termo_key_t *event)
{ {
struct binding *binding = &g_default_bindings[i]; struct binding *binding = &g_default_bindings[i];
termo_key_t key; termo_key_t key;
// FIXME: I've made termo parse it as a multibyte string, I want UTF-8 hard_assert (!*termo_strpkey_utf8 (g_ctx.tk, binding->key, &key,
hard_assert (!*termo_strpkey (g_ctx.tk, binding->key, &key,
TERMO_FORMAT_ALTISMETA)); TERMO_FORMAT_ALTISMETA));
if (!termo_keycmp (g_ctx.tk, event, &key)) if (!termo_keycmp (g_ctx.tk, event, &key))
return app_process_user_action (binding->action); return app_process_user_action (binding->action);

2
termo

@ -1 +1 @@
Subproject commit 4282f3715c7d4307f57c27edf66874762bdee858 Subproject commit 258691135f3df9604e00cf35c3add81412b83241