| 3 |
* io |
* io |
| 4 |
* - basic terminal-based user input / output features |
* - basic terminal-based user input / output features |
| 5 |
* |
* |
| 6 |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
* Copyright (C) 2004-2026 Leaflet <leaflet@leafok.com> |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
#ifdef HAVE_CONFIG_H |
#ifdef HAVE_CONFIG_H |
| 1070 |
out = KEY_ESC; |
out = KEY_ESC; |
| 1071 |
} |
} |
| 1072 |
|
|
| 1073 |
|
// KEY_BACKSPACE -> BACKSPACE |
| 1074 |
|
if (out == KEY_BACKSPACE) |
| 1075 |
|
{ |
| 1076 |
|
out = BACKSPACE; |
| 1077 |
|
} |
| 1078 |
|
|
| 1079 |
// for debug |
// for debug |
| 1080 |
#ifdef _DEBUG |
#ifdef _DEBUG |
| 1081 |
if (out != KEY_TIMEOUT && out != KEY_NULL) |
if (out != KEY_TIMEOUT && out != KEY_NULL) |