diff options
author | Přemysl Janouch <p@janouch.name> | 2019-02-13 12:53:25 +0100 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2019-02-13 12:53:25 +0100 |
commit | 510a53b845b1a2e9f47e91c1bf4eb3de7527fb34 (patch) | |
tree | f3ab781005aec7a09bc213d673bb54334b7f17dc | |
parent | 6e67469e3ff8d82ac28a75bb0d9d4185ebfc7900 (diff) | |
download | desktop-tools-510a53b845b1a2e9f47e91c1bf4eb3de7527fb34.tar.gz desktop-tools-510a53b845b1a2e9f47e91c1bf4eb3de7527fb34.tar.xz desktop-tools-510a53b845b1a2e9f47e91c1bf4eb3de7527fb34.zip |
paswitch: fix M-Esc
-rw-r--r-- | paswitch.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -791,8 +791,9 @@ read_key_sequence (const char *buf, size_t len) return ++p - buf; return -escapes; } + // We don't know this sequence, so just return M-Esc if (escapes == 2) - return -escapes; + return escapes; } // Shift state encodings aren't going to work, though anything else should |