| 30 | } |
| 31 | |
| 32 | static void |
| 33 | topl_getlin(const char *query, char *bufp, Boolean ext) |
| 34 | { |
| 35 | if (get_line_from_key_queue(bufp)) |
| 36 | return; |
| 37 | |
| 38 | enter_topl_mode((char *) query); |
| 39 | while (topl_key(nhgetch(), ext)) |
| 40 | ; |
| 41 | leave_topl_mode(bufp); |
| 42 | } |
| 43 | |
| 44 | /* |
| 45 | * Read a line closed with '\n' into the array char bufp[BUFSZ]. |
no test coverage detected