diff options
author | erdgeist <> | 2005-07-22 18:46:34 +0000 |
---|---|---|
committer | erdgeist <> | 2005-07-22 18:46:34 +0000 |
commit | 4e785ff786c43e6db5609965643d5161f6bbcef1 (patch) | |
tree | e31adaf76c5977f733ca0583bcda50a3b37f138b /vchat-ui.c | |
parent | 8a245338ad64ed8628e03b577d01aadc89bb5753 (diff) |
Endlich PageUP/PageDN
Diffstat (limited to 'vchat-ui.c')
-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 | ||