| 960 | extern void mar_update_value(void); /* wingem1.c */ |
| 961 | |
| 962 | int |
| 963 | Gem_nhgetch() |
| 964 | { |
| 965 | int i; |
| 966 | |
| 967 | mar_update_value(); |
| 968 | i = tgetch(); |
| 969 | if (!i) |
| 970 | i = '\033'; /* map NUL to ESC since nethack doesn't expect NUL */ |
| 971 | |
| 972 | return i; |
| 973 | } |
| 974 | |
| 975 | /* Get a extended command in windowport specific way. |
| 976 | returns index of the ext_cmd or -1. |
nothing calls this directly
no test coverage detected