about summary refs log tree commit diff stats
path: root/src/ui/inputwin.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-01 18:49:53 +0000
committerJames Booth <boothj5@gmail.com>2015-11-01 18:49:53 +0000
commit8195ab42cb97c5597f4deb48f92be04afe933abc (patch)
tree306be3e6718f08b9a2ea18326477e4cb46a6eed9 /src/ui/inputwin.c
parent4fa2efc7caa4362cd172ef9d69cf9324b928e1d3 (diff)
downloadprofani-tty-8195ab42cb97c5597f4deb48f92be04afe933abc.tar.gz
Removed ui_ paging functions
Diffstat (limited to 'src/ui/inputwin.c')
-rw-r--r--src/ui/inputwin.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c
index b6f69220..d875b77d 100644
--- a/src/ui/inputwin.c
+++ b/src/ui/inputwin.c
@@ -553,27 +553,31 @@ _inp_rl_altright_handler(int count, int key)
 static int
 _inp_rl_pageup_handler(int count, int key)
 {
-    ui_page_up();
+    ProfWin *current = wins_get_current();
+    win_page_up(current);
     return 0;
 }
 
 static int
 _inp_rl_pagedown_handler(int count, int key)
 {
-    ui_page_down();
+    ProfWin *current = wins_get_current();
+    win_page_down(current);
     return 0;
 }
 
 static int
 _inp_rl_altpageup_handler(int count, int key)
 {
-    ui_subwin_page_up();
+    ProfWin *current = wins_get_current();
+    win_sub_page_up(current);
     return 0;
 }
 
 static int
 _inp_rl_altpagedown_handler(int count, int key)
 {
-    ui_subwin_page_down();
+    ProfWin *current = wins_get_current();
+    win_sub_page_down(current);
     return 0;
 }