aboutsummaryrefslogtreecommitdiff
path: root/termkey.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-02 14:43:19 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-02 14:43:19 +0000
commit62d4e7eccbf8eca4e395688f2e4fc4948919a59d (patch)
tree57f5a191c4e1d363196569c626b0b13d2b8ac7c5 /termkey.c
parente5ff066539f1719b0256f6648d242db5b5a5164f (diff)
downloadtermo-62d4e7eccbf8eca4e395688f2e4fc4948919a59d.tar.gz
termo-62d4e7eccbf8eca4e395688f2e4fc4948919a59d.tar.xz
termo-62d4e7eccbf8eca4e395688f2e4fc4948919a59d.zip
Pass the 'force' value through to getkey_simple()
Diffstat (limited to 'termkey.c')
-rw-r--r--termkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/termkey.c b/termkey.c
index d20655f..49b6869 100644
--- a/termkey.c
+++ b/termkey.c
@@ -17,7 +17,7 @@ static struct termkey_driver *drivers[] = {
// Forwards for the "protected" methods
static void eat_bytes(termkey_t *tk, size_t count);
static void emit_codepoint(termkey_t *tk, long codepoint, termkey_key *key);
-static termkey_result getkey_simple(termkey_t *tk, termkey_key *key);
+static termkey_result getkey_simple(termkey_t *tk, termkey_key *key, int force);
static termkey_keysym register_c0(termkey_t *tk, termkey_keysym sym, unsigned char ctrl, const char *name);
static termkey_keysym register_c0_full(termkey_t *tk, termkey_keysym sym, int modifier_set, int modifier_mask, unsigned char ctrl, const char *name);
@@ -347,7 +347,7 @@ static void emit_codepoint(termkey_t *tk, long codepoint, termkey_key *key)
#define CHARAT(i) (tk->buffer[tk->buffstart + (i)])
-static termkey_result getkey_simple(termkey_t *tk, termkey_key *key)
+static termkey_result getkey_simple(termkey_t *tk, termkey_key *key, int force)
{
unsigned char b0 = CHARAT(0);