| 291 | } |
| 292 | |
| 293 | RESTORE_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) */ |
| 298 | void |
| 299 | custompline(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 |
no test coverage detected