summaryrefslogtreecommitdiff
path: root/testing/toxic/prompt.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/toxic/prompt.c')
-rw-r--r--testing/toxic/prompt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/toxic/prompt.c b/testing/toxic/prompt.c
index b0f83811..1db60883 100644
--- a/testing/toxic/prompt.c
+++ b/testing/toxic/prompt.c
@@ -140,6 +140,7 @@ static void execute(ToxWindow* self, char* cmd) {
140 break; 140 break;
141 case -2: 141 case -2:
142 wprintw(self->window, "Please add a message to your request.\n"); 142 wprintw(self->window, "Please add a message to your request.\n");
143 break;
143 case -3: 144 case -3:
144 wprintw(self->window, "That appears to be your own ID.\n"); 145 wprintw(self->window, "That appears to be your own ID.\n");
145 break; 146 break;
@@ -287,6 +288,7 @@ static void prompt_onKey(ToxWindow* self, int key) {
287} 288}
288 289
289static void prompt_onDraw(ToxWindow* self) { 290static void prompt_onDraw(ToxWindow* self) {
291 curs_set(1);
290 int x, y; 292 int x, y;
291 293
292 getyx(self->window, y, x); 294 getyx(self->window, y, x);