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. */
| 1196 | by a nap(50ms), but allows asynchronous operation. |
| 1197 | */ |
| 1198 | void |
| 1199 | curses_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 | /* |
| 1213 | outrip(winid, int) |
nothing calls this directly
no test coverage detected