* Return a prompt. * This depends on the prompt type (SHORT, MEDIUM, LONG), etc. * If we can't come up with an appropriate prompt, return NULL * and the caller will prompt with a colon. */
| 565 | * and the caller will prompt with a colon. |
| 566 | */ |
| 567 | public char * |
| 568 | pr_string(VOID_PARAM) |
| 569 | { |
| 570 | char *prompt; |
| 571 | int type; |
| 572 | |
| 573 | type = (!less_is_more) ? pr_type : pr_type ? 0 : 1; |
| 574 | prompt = pr_expand((ch_getflags() & CH_HELPFILE) ? |
| 575 | hproto : prproto[type], |
| 576 | sc_width-so_s_width-so_e_width-2); |
| 577 | new_file = 0; |
| 578 | return (prompt); |
| 579 | } |
| 580 | |
| 581 | /* |
| 582 | * Return a message suitable for printing while waiting in the F command. |
no test coverage detected
searching dependent graphs…