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

Function curses_delay_output

win/curses/cursmain.c:1198–1210  ·  view source on GitHub ↗

delay_output() -- Causes a visible delay of 50ms in the output. Conceptually, this is similar to wait_synch() followed by a nap(50ms), but allows asynchronous operation. */

Source from the content-addressed store, hash-verified

1196 by a nap(50ms), but allows asynchronous operation.
1197*/
1198void
1199curses_delay_output(void)
1200{
1201#ifdef TIMED_DELAY
1202 if (flags.nap && !iflags.debug_fuzzer) {
1203 /* refreshing the whole display is a waste of time,
1204 * but that's why we're here */
1205 curses_update_stdscr_cursor();
1206 refresh();
1207 napms(50);
1208 }
1209#endif
1210}
1211
1212/*
1213outrip(winid, int)

Callers

nothing calls this directly

Calls 2

refreshFunction · 0.85

Tested by

no test coverage detected