summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2005-07-22 18:55:02 +0000
committererdgeist <>2005-07-22 18:55:02 +0000
commit1f5cc8c15b4e8da554652780c49558e55628a54b (patch)
tree7d5dc40f0c3380666dd7d5bdd403b639b4a258a3
parent4e785ff786c43e6db5609965643d5161f6bbcef1 (diff)
PageUP/DN for OLDREADLINE
-rwxr-xr-xvchat-ui.c7
1 files changed, 5 insertions, 2 deletions
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)
1232 rl_bind_key ('G'-'@', (rl_command_func_t *) growprivwin); 1232 rl_bind_key ('G'-'@', (rl_command_func_t *) growprivwin);
1233 rl_bind_key ('X'-'@', (rl_command_func_t *) toggleprivwin); 1233 rl_bind_key ('X'-'@', (rl_command_func_t *) toggleprivwin);
1234 1234
1235 rl_bind_keyseq( "\\M-[5~", (rl_command_func_t *)scrollup ); 1235 rl_generic_bind (ISFUNC, "\\M-[5~", scrollup, keymap);
1236 rl_bind_keyseq( "\\M-[6~", (rl_command_func_t *)scrolldown ); 1236 rl_generic_bind (ISFUNC, "\\M-[6~", scrolldown, keymap);
1237
1238// rl_bind_keyseq( "\\M-[5~", (rl_command_func_t *)scrollup );
1239// rl_bind_keyseq( "\\M-[6~", (rl_command_func_t *)scrolldown );
1237 1240
1238 /* bind TAB to menu complete from readline */ 1241 /* bind TAB to menu complete from readline */
1239 rl_bind_key ('\t', (rl_command_func_t *) rl_menu_complete); 1242 rl_bind_key ('\t', (rl_command_func_t *) rl_menu_complete);