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

Function custompline

src/pline.c:293–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293RESTORE_WARNING_FORMAT_NONLITERAL
294
295/* pline() variant which can override MSGTYPE handling or suppress
296 message history (tty interface uses pline() to issue prompts and
297 they shouldn't be blockable via MSGTYPE=hide) */
298void
299custompline(unsigned pflags, const char *line, ...)
300{
301 va_list the_args;
302
303 va_start(the_args, line);
304 gp.pline_flags = pflags;
305 vpline(line, the_args);
306 gp.pline_flags = 0;
307 va_end(the_args);
308}
309
310/* if player has dismissed --More-- with ESC to suppress further messages
311 until next input request, tell the interface that it should override that

Callers 7

tty_yn_functionFunction · 0.85
hooked_tty_getlinFunction · 0.85
curses_ext_cmdFunction · 0.85
rhackFunction · 0.85
get_countFunction · 0.85
auto_describeFunction · 0.85

Calls 1

vplineFunction · 0.85

Tested by

no test coverage detected