diff options
-rwxr-xr-x | vchat-ui.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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); |