diff options
Diffstat (limited to 'xterm-keys.c')
-rw-r--r-- | xterm-keys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xterm-keys.c b/xterm-keys.c index 5ca75d89..10d51c78 100644 --- a/xterm-keys.c +++ b/xterm-keys.c @@ -120,6 +120,8 @@ xterm_keys_match(const char *template, const char *buf, size_t len, size_t pos; int retval; + *modifiers = 0; + if (len == 0) return (0); |