about summary refs log tree commit diff stats
path: root/profanity.c
diff options
context:
space:
mode:
Diffstat (limited to 'profanity.c')
-rw-r--r--profanity.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/profanity.c b/profanity.c
index 5f07b8a8..ab54439d 100644
--- a/profanity.c
+++ b/profanity.c
@@ -47,9 +47,8 @@ void profanity_run(void)
         while(ch != '\n') {
             gui_refresh();
             jabber_process_events();
-            win_handle_switch(&ch);
-            win_handle_page(&ch);
-            inp_poll_char(&ch, inp, &size);
+            win_handle_special_keys(&ch);
+            inp_get_char(&ch, inp, &size);
         }
 
         inp[size++] = '\0';