Fixed extended keyboard input on Unix
authorRobert Pengelly <robertapengelly@hotmail.com>
Tue, 20 Oct 2026 12:33:08 +0000 (13:33 +0100)
committerRobert Pengelly <robertapengelly@hotmail.com>
Tue, 20 Oct 2026 12:33:08 +0000 (13:33 +0100)
interrupts.c

index 8367437b54ec3219c1fc8446a1280271890f96a7..c188f88988f98ac9d769560a3c5a79d122a6a9b9 100644 (file)
@@ -3440,7 +3440,6 @@ static void dos_buffered_line_input (CPU8086 *cpu) {
         
         }
         
-#if     defined (_WIN32)
         /* Console cursor keys use an extended-key prefix and scan code. */
         if (c == 0 || c == 0xE0) {
         
@@ -3448,7 +3447,6 @@ static void dos_buffered_line_input (CPU8086 *cpu) {
             continue;
         
         }
-#endif
         
         /* Enter finishes input */
         if (c == '\r' || c == '\n') {