X11-specific edition of yn_function(), the routine called by the core to show a prompt and get a single key answer, often 'y' vs 'n' */
| 2463 | /* X11-specific edition of yn_function(), the routine called by the core |
| 2464 | to show a prompt and get a single key answer, often 'y' vs 'n' */ |
| 2465 | char |
| 2466 | X11_yn_function( |
| 2467 | const char *ques, /* prompt text */ |
| 2468 | const char *choices, /* allowed response chars; any char if Null */ |
| 2469 | char def) /* default if user hits <space> or <return> */ |
| 2470 | { |
| 2471 | char res = X11_yn_function_core(ques, choices, def, YN_NORMAL); |
| 2472 | |
| 2473 | return res; |
| 2474 | } |
| 2475 | |
| 2476 | /* used when processing window-capability-specific run-time options; |
| 2477 | we support toggling tiles on and off via iflags.wc_tiled_map */ |
nothing calls this directly
no test coverage detected