Fix cursor keys etc. in unibilium
unibi_pkey_xmit was the wrong constant.
This commit is contained in:
parent
9ec09b90c9
commit
4282f3715c
|
@ -288,7 +288,7 @@ load_terminfo (termo_ti_t *ti, const char *term)
|
||||||
// instances for multiple different termtypes, and it's different by the
|
// instances for multiple different termtypes, and it's different by the
|
||||||
// time we want to use it
|
// time we want to use it
|
||||||
#ifdef HAVE_UNIBILIUM
|
#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
|
#endif
|
||||||
|
|
||||||
if (keypad_xmit)
|
if (keypad_xmit)
|
||||||
|
@ -297,7 +297,7 @@ load_terminfo (termo_ti_t *ti, const char *term)
|
||||||
ti->start_string = NULL;
|
ti->start_string = NULL;
|
||||||
|
|
||||||
#ifdef HAVE_UNIBILIUM
|
#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
|
#endif
|
||||||
|
|
||||||
if (keypad_local)
|
if (keypad_local)
|
||||||
|
|
Loading…
Reference in New Issue