diff options
Diffstat (limited to 'testing/toxic/prompt.c')
-rw-r--r-- | testing/toxic/prompt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/toxic/prompt.c b/testing/toxic/prompt.c index e194a90e..d210023f 100644 --- a/testing/toxic/prompt.c +++ b/testing/toxic/prompt.c | |||
@@ -5,7 +5,6 @@ | |||
5 | #include <stdlib.h> | 5 | #include <stdlib.h> |
6 | #include <string.h> | 6 | #include <string.h> |
7 | #include <ctype.h> | 7 | #include <ctype.h> |
8 | #include <curses.h> | ||
9 | 8 | ||
10 | #include "../../core/Messenger.h" | 9 | #include "../../core/Messenger.h" |
11 | #include "../../core/network.h" | 10 | #include "../../core/network.h" |
@@ -426,7 +425,7 @@ static void execute(ToxWindow *self, Messenger *m, char *u_cmd) | |||
426 | wprintw(self->window, "Invalid command.\n"); | 425 | wprintw(self->window, "Invalid command.\n"); |
427 | } | 426 | } |
428 | 427 | ||
429 | static void prompt_onKey(ToxWindow *self, Messenger *m, int key) | 428 | static void prompt_onKey(ToxWindow *self, Messenger *m, wint_t key) |
430 | { | 429 | { |
431 | /* Add printable characters to line */ | 430 | /* Add printable characters to line */ |
432 | if (isprint(key)) { | 431 | if (isprint(key)) { |