| 116:4bf18d42e7ee | 117:ee539a9691f0 |
|---|---|
| 30 #include "input.h" | 30 #include "input.h" |
| 31 #include <ctype.h> | 31 #include <ctype.h> |
| 32 | 32 |
| 33 int prompt_yesno(char *msg) { | 33 int prompt_yesno(char *msg) { |
| 34 printw("%s (y/n)? ", msg); | 34 printw("%s (y/n)? ", msg); |
| 35 clrtoeol(); | |
| 35 refresh(); | 36 refresh(); |
| 36 noecho(); | 37 noecho(); |
| 37 int ch; | 38 int ch; |
| 38 do { | 39 do { |
| 39 ch = getch(); | 40 ch = getch(); |