* Before we wait for input via nhgetch() and nh_poskey(), we need to * do some pre-processing. */
| 2493 | * do some pre-processing. |
| 2494 | */ |
| 2495 | static int |
| 2496 | input_event(int exit_condition) |
| 2497 | { |
| 2498 | if (appResources.fancy_status && WIN_STATUS != WIN_ERR) |
| 2499 | check_turn_events(); /* hilighting on the fancy status window */ |
| 2500 | if (WIN_MAP != WIN_ERR) /* make sure cursor is not clipped */ |
| 2501 | check_cursor_visibility(&window_list[WIN_MAP]); |
| 2502 | if (WIN_MESSAGE != WIN_ERR) /* reset pause line */ |
| 2503 | set_last_pause(&window_list[WIN_MESSAGE]); |
| 2504 | |
| 2505 | return x_event(exit_condition); |
| 2506 | } |
| 2507 | |
| 2508 | /*ARGSUSED*/ |
| 2509 | void |
no test coverage detected