aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-09-27 23:43:46 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-09-27 23:59:51 +0200
commit4282f3715c7d4307f57c27edf66874762bdee858 (patch)
tree41822b583cc1068275107cf9f46a0af98f6c5176
parent9ec09b90c9bb023bb69a6b703ce4df40d397f5e6 (diff)
downloadtermo-4282f3715c7d4307f57c27edf66874762bdee858.tar.gz
termo-4282f3715c7d4307f57c27edf66874762bdee858.tar.xz
termo-4282f3715c7d4307f57c27edf66874762bdee858.zip
Fix cursor keys etc. in unibilium
unibi_pkey_xmit was the wrong constant.
-rw-r--r--driver-ti.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver-ti.c b/driver-ti.c
index a4a5a27..719dc2e 100644
--- a/driver-ti.c
+++ b/driver-ti.c
@@ -288,7 +288,7 @@ load_terminfo (termo_ti_t *ti, const char *term)
// instances for multiple different termtypes, and it's different by the
// time we want to use it
#ifdef HAVE_UNIBILIUM
- const char *keypad_xmit = unibi_get_str (unibi, unibi_pkey_xmit);
+ const char *keypad_xmit = unibi_get_str (unibi, unibi_keypad_xmit);
#endif
if (keypad_xmit)
@@ -297,7 +297,7 @@ load_terminfo (termo_ti_t *ti, const char *term)
ti->start_string = NULL;
#ifdef HAVE_UNIBILIUM
- const char *keypad_local = unibi_get_str (unibi, unibi_pkey_local);
+ const char *keypad_local = unibi_get_str (unibi, unibi_keypad_local);
#endif
if (keypad_local)