MCPcopy Create free account
hub / github.com/NetHack/NetHack / mswin_have_input

Function mswin_have_input

win/win32/mhinput.c:36–45  ·  view source on GitHub ↗

check for input */

Source from the content-addressed store, hash-verified

34
35/* check for input */
36int
37mswin_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 */
48void

Callers 1

mswin_main_loopFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected