commit | 2b1bc6866a7be5160d03201192c50accd8722f1c | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Wed Dec 21 17:07:04 2016 +0100 |
committer | Benno Schulenberg <bensberg@justemail.net> | Wed Dec 21 17:42:15 2016 +0100 |
tree | 14bb206fa805afa12458ef3533384431a4cb7c66 | |
parent | 90b959a6777c01c52d76203fb4e95bc8c5c0af01 [diff] |
input: don't crash when receiving a KEY_CANCEL On some systems, typing ^C apparently results in a KEY_CANCEL in the input stream, which gets hard-bound to the do_cancel function. But in the main menu there is no Cancel function. So... in that case, let it fall back to the plain old Ctrl-C code: 0x03. Reported-by: Liam Gretton <liam.gretton@leicester.ac.uk>