check for input */
| 34 | |
| 35 | /* check for input */ |
| 36 | int |
| 37 | mswin_have_input(void) |
| 38 | { |
| 39 | return |
| 40 | #ifdef SAFERHANGUP |
| 41 | /* we always have input (ESC) if hangup was requested */ |
| 42 | program_state.done_hup || |
| 43 | #endif |
| 44 | (nhi_read_pos != nhi_write_pos); |
| 45 | } |
| 46 | |
| 47 | /* add event to the queue */ |
| 48 | void |