aboutsummaryrefslogtreecommitdiff
path: root/driver-ti.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-08-08 23:51:29 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-08-09 14:52:02 +0200
commitf05e40a30a008e0197fe0c8b192f399c448a95c6 (patch)
treefb3d2bb73687c6b56222196fca1fddec59d08e49 /driver-ti.c
parent0b5d8ecd0d4119f7fa3e1ef8bc060c6c7124de14 (diff)
downloadtermo-f05e40a30a008e0197fe0c8b192f399c448a95c6.tar.gz
termo-f05e40a30a008e0197fe0c8b192f399c448a95c6.tar.xz
termo-f05e40a30a008e0197fe0c8b192f399c448a95c6.zip
Don't interpret an n*<Esc> as (n-1)*<Alt>-<Esc>
Diffstat (limited to 'driver-ti.c')
-rw-r--r--driver-ti.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver-ti.c b/driver-ti.c
index 6ac213f..c94079f 100644
--- a/driver-ti.c
+++ b/driver-ti.c
@@ -466,7 +466,7 @@ free_driver (void *info)
static termo_result_t
peekkey (termo_t *tk, void *info,
- termo_key_t *key, int force, size_t *nbytep)
+ termo_key_t *key, int flags, size_t *nbytep)
{
termo_ti_t *ti = info;
@@ -512,7 +512,7 @@ peekkey (termo_t *tk, void *info,
// If p is not NULL then we hadn't walked off the end yet, so we have a
// partial match
- if (p && !force)
+ if (p && !(flags & PEEKKEY_FORCE))
return TERMO_RES_AGAIN;
return TERMO_RES_NONE;