diff options
-rwxr-xr-x | vchat-ui.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1232,6 +1232,9 @@ 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 ); | ||
1236 | rl_bind_keyseq( "\\M-[6~", (rl_command_func_t *)scrolldown ); | ||
1237 | |||
1235 | /* bind TAB to menu complete from readline */ | 1238 | /* bind TAB to menu complete from readline */ |
1236 | rl_bind_key ('\t', (rl_command_func_t *) rl_menu_complete); | 1239 | rl_bind_key ('\t', (rl_command_func_t *) rl_menu_complete); |
1237 | 1240 | ||
@@ -1254,6 +1257,7 @@ initui (void) | |||
1254 | #else | 1257 | #else |
1255 | rl_callback_handler_install ("", (rl_vcpfunc_t *) linecomplete); | 1258 | rl_callback_handler_install ("", (rl_vcpfunc_t *) linecomplete); |
1256 | #endif | 1259 | #endif |
1260 | |||
1257 | /* | 1261 | /* |
1258 | writeout( ">> Ctrl-X <<"); | 1262 | writeout( ">> Ctrl-X <<"); |
1259 | 1263 | ||