MCPcopy Index your code
hub / github.com/NetHack/NetHack / curses_getch

Function curses_getch

win/curses/cursmisc.c:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31#define SS3 M(C('O')) /* 8-bit escape sequence initiator for VT number pad */
32
33int
34curses_getch(void)
35{
36 int ch;
37
38 if (iflags.debug_fuzzer)
39 ch = randomkey();
40 else
41 ch = getch();
42 return ch;
43}
44
45/* Read a character of input from the user */
46

Callers 2

curses_read_charFunction · 0.85
menu_get_selectionsFunction · 0.85

Calls 1

randomkeyFunction · 0.85

Tested by

no test coverage detected