aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-02-12 12:49:32 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-02-12 12:52:31 -0800
commit503bbd85b56f8c7cac4065fa0cd7e7738d9d87a8 (patch)
treeb4ae1bf98140314596798c32ba7c506829d9cae1 /input.h
parent29ddb68da428804148a0c6f44229cf1848bebf8c (diff)
Test and fix issue where, if binding X is a prefix of binding Y, and X
is specified before Y, then Y will never be invoked because X will always get there first. Now instead we order bindings in descending order by length, so that we always test the binding before any others that prefixes it. Fixes #1283.
Diffstat (limited to 'input.h')
-rw-r--r--input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.h b/input.h
index 56f6e249..bd356622 100644
--- a/input.h
+++ b/input.h
@@ -62,7 +62,7 @@ enum
R_CANCEL
};
-wcstring describe_char(wchar_t c);
+wcstring describe_char(wint_t c);
/**
Initialize the terminal by calling setupterm, and set up arrays