summaryrefslogtreecommitdiff
path: root/testing/toxic/windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/toxic/windows.c')
-rw-r--r--testing/toxic/windows.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/toxic/windows.c b/testing/toxic/windows.c
index f50bdc2d..7f547d0a 100644
--- a/testing/toxic/windows.c
+++ b/testing/toxic/windows.c
@@ -234,7 +234,11 @@ void draw_active_window(Messenger *m)
234 a->onDraw(a, m); 234 a->onDraw(a, m);
235 235
236 /* Handle input */ 236 /* Handle input */
237#ifdef HAVE_WIDECHAR
237 get_wch(&ch); 238 get_wch(&ch);
239#else
240 ch = getch();
241#endif
238 242
239 if (ch == '\t' || ch == KEY_BTAB) 243 if (ch == '\t' || ch == KEY_BTAB)
240 set_next_window((int) ch); 244 set_next_window((int) ch);