| 1974 | |
| 1975 | #ifdef PORT_DEBUG |
| 1976 | void |
| 1977 | win32con_debug_keystrokes(void) |
| 1978 | { |
| 1979 | DWORD count; |
| 1980 | boolean valid = 0; |
| 1981 | int ch = 0; |
| 1982 | xputs("\n"); |
| 1983 | while (!valid || ch != 27) { |
| 1984 | nocmov(ttyDisplay->curx, ttyDisplay->cury); |
| 1985 | ReadConsoleInput(console.hConIn, &gbl_ir, 1, &count); |
| 1986 | if ((gbl_ir.EventType == KEY_EVENT) && gbl_ir.Event.KeyEvent.bKeyDown) |
| 1987 | ch = process_keystroke(&gbl_ir, &valid, (uchar) iflags.num_pad, 1); |
| 1988 | } |
| 1989 | (void) doredraw(); |
| 1990 | } |
| 1991 | void |
| 1992 | win32con_toggle_cursor_info(void) |
| 1993 | { |
nothing calls this directly
no test coverage detected