MCPcopy Create free account
hub / github.com/Kitware/CMake / napms

Function napms

Utilities/cmpdcurses/pdcurses/kernel.c:228–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228int napms(int ms)
229{
230 PDC_LOG(("napms() - called: ms=%d\n", ms));
231
232 if (!SP)
233 return ERR;
234
235 if (SP->dirty)
236 {
237 int curs_state = SP->visibility;
238 bool leave_state = is_leaveok(curscr);
239
240 SP->dirty = FALSE;
241
242 leaveok(curscr, TRUE);
243
244 wrefresh(curscr);
245
246 leaveok(curscr, leave_state);
247 curs_set(curs_state);
248 }
249
250 if (ms)
251 PDC_napms(ms);
252
253 return OK;
254}
255
256int ripoffline(int line, int (*init)(WINDOW *, int))
257{

Callers 5

_process_mouse_eventFunction · 0.85
flashFunction · 0.85
wgetchFunction · 0.85
drainoFunction · 0.85
delay_outputFunction · 0.85

Calls 5

is_leaveokFunction · 0.85
leaveokFunction · 0.85
wrefreshFunction · 0.85
curs_setFunction · 0.85
PDC_napmsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…