From 1f5cc8c15b4e8da554652780c49558e55628a54b Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 22 Jul 2005 18:55:02 +0000 Subject: PageUP/DN for OLDREADLINE --- vchat-ui.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'vchat-ui.c') diff --git a/vchat-ui.c b/vchat-ui.c index ab44b88..0644172 100755 --- a/vchat-ui.c +++ b/vchat-ui.c @@ -1232,8 +1232,11 @@ initui (void) rl_bind_key ('G'-'@', (rl_command_func_t *) growprivwin); rl_bind_key ('X'-'@', (rl_command_func_t *) toggleprivwin); - rl_bind_keyseq( "\\M-[5~", (rl_command_func_t *)scrollup ); - rl_bind_keyseq( "\\M-[6~", (rl_command_func_t *)scrolldown ); + rl_generic_bind (ISFUNC, "\\M-[5~", scrollup, keymap); + rl_generic_bind (ISFUNC, "\\M-[6~", scrolldown, keymap); + +// rl_bind_keyseq( "\\M-[5~", (rl_command_func_t *)scrollup ); +// rl_bind_keyseq( "\\M-[6~", (rl_command_func_t *)scrolldown ); /* bind TAB to menu complete from readline */ rl_bind_key ('\t', (rl_command_func_t *) rl_menu_complete); -- cgit v1.2.3