| 223:e2519b3dd5e7 | 224:93e0e89496fe |
|---|---|
| 30 #ifndef INPUT_H | 30 #ifndef INPUT_H |
| 31 #define INPUT_H | 31 #define INPUT_H |
| 32 | 32 |
| 33 #include <stdlib.h> | 33 #include <stdlib.h> |
| 34 | 34 |
| 35 #ifdef __cplusplus | |
| 36 extern "C" { | |
| 37 #endif | |
| 38 | |
| 39 int prompt_yesno(const char *msg); | 35 int prompt_yesno(const char *msg); |
| 40 | 36 |
| 41 /** | 37 /** |
| 42 * Asynchronous variant of getnstr(). | 38 * Asynchronous variant of getnstr(). |
| 43 * | 39 * |
| 50 */ | 46 */ |
| 51 int asyncgetnstr(char *str, size_t *pos, size_t len); | 47 int asyncgetnstr(char *str, size_t *pos, size_t len); |
| 52 | 48 |
| 53 int input_getmaxy(void); | 49 int input_getmaxy(void); |
| 54 | 50 |
| 55 #ifdef __cplusplus | |
| 56 } | |
| 57 #endif | |
| 58 | |
| 59 #endif /* INPUT_H */ | 51 #endif /* INPUT_H */ |
| 60 | 52 |