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

Function amii_getret

sys/amiga/winkey.c:86–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void
87amii_getret(void)
88{
89 int c;
90
91 raw_print("");
92 raw_print("Press Return...");
93
94 c = 0;
95
96 while (c != '\n' && c != '\r') {
97 if (HackPort)
98 c = WindowGetchar();
99 else
100 c = getchar();
101 }
102 return;
103}

Callers 2

amii_cleanupFunction · 0.85
AbortFunction · 0.85

Calls 2

raw_printFunction · 0.85
WindowGetcharFunction · 0.85

Tested by

no test coverage detected