| 216:d0c3d3016650 | 217:507490519676 |
|---|---|
| 29 | 29 |
| 30 #include "input.h" | 30 #include "input.h" |
| 31 #include <curses.h> | 31 #include <curses.h> |
| 32 #include <ctype.h> | 32 #include <ctype.h> |
| 33 | 33 |
| 34 int prompt_yesno(char *msg) { | 34 int prompt_yesno(const char *msg) { |
| 35 addstr(msg); | 35 addstr(msg); |
| 36 addstr(" (y/n)? "); | 36 addstr(" (y/n)? "); |
| 37 clrtoeol(); | 37 clrtoeol(); |
| 38 refresh(); | 38 refresh(); |
| 39 noecho(); | 39 noecho(); |