about summary refs log tree commit diff stats
path: root/profanity.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-03-05 00:06:24 +0000
committerJames Booth <boothj5@gmail.com>2012-03-05 00:06:24 +0000
commit0ddf97e0166e22b9fc7311dc42f555a264bef2b9 (patch)
tree4c0b811632ddd8bb34b6c69dec743d6519a5be42 /profanity.c
parent20c05b2f7760aaa669e820b7f698b7f366d2f10d (diff)
downloadprofani-tty-0ddf97e0166e22b9fc7311dc42f555a264bef2b9.tar.gz
Paging in console window
Diffstat (limited to 'profanity.c')
-rw-r--r--profanity.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/profanity.c b/profanity.c
index 2603235c..9b7d7674 100644
--- a/profanity.c
+++ b/profanity.c
@@ -47,11 +47,13 @@ void profanity_run(void)
             gui_refresh();
             jabber_process_events();
             win_handle_switch(&ch);
+            win_handle_page(&ch);
             inp_poll_char(&ch, inp, &size);
         }
 
         inp[size++] = '\0';
         cmd_result = process_input(inp);
+        win_page_off();
     }
 
 }