ref: 8b8a277a7aa9146b0825398f9e81ddccb81ee2dd
parent: a56781bb695b11f8afdd012c703b4d6930d4aca8
author: Ben Harris <bjh21@bjh21.me.uk>
date: Mon Jun 26 05:10:28 EDT 2023
Fix control-character generation fix The change I made in c224416c76e41f284b318adc51f08c3ed11de8e2 was incorrect: I accidentally removed a "return" statement and left in a debugging printf() when I meant to keep the return and drop the printf().
--- a/midend.c
+++ b/midend.c
@@ -1223,7 +1223,7 @@
if (!IS_CURSOR_MOVE(button & ~MOD_MASK)) {
/* reject CTRL+anything odd */
if ((button & MOD_CTRL) && (button & ~MOD_MASK) >= 0x20)
- printf(" -> %d\n", PKR_UNUSED);
+ return PKR_UNUSED;
/* otherwise strip them */
button &= ~(MOD_CTRL | MOD_SHFT);
}