summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-08-12 17:38:59 +0200
committerSebastien Helleu <flashcode@flashtux.org>2010-08-12 17:38:59 +0200
commit94acf64f8cd35162d04fcb4ad63c5dfa34f8d432 (patch)
tree67d6b4da436a89defc827f0f5e3e18af76ff7ac6 /src/core/wee-command.c
parent50ac22c16ed5954ffb4100c970017fe75f44fb20 (diff)
downloadweechat-94acf64f8cd35162d04fcb4ad63c5dfa34f8d432.zip
Use similar behaviour for keys bound to local or global history (bug #30759)
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 313fb4074..2c33bcd07 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -1928,13 +1928,13 @@ command_input (void *data, struct t_gui_buffer *buffer,
else if (string_strcasecmp (argv[1], "move_next_word") == 0)
gui_input_move_next_word (gui_current_window->buffer);
else if (string_strcasecmp (argv[1], "history_previous") == 0)
- gui_input_history_previous (gui_current_window);
+ gui_input_history_local_previous (gui_current_window);
else if (string_strcasecmp (argv[1], "history_next") == 0)
- gui_input_history_next (gui_current_window);
+ gui_input_history_local_next (gui_current_window);
else if (string_strcasecmp (argv[1], "history_global_previous") == 0)
- gui_input_history_global_previous (gui_current_window->buffer);
+ gui_input_history_global_previous (gui_current_window);
else if (string_strcasecmp (argv[1], "history_global_next") == 0)
- gui_input_history_global_next (gui_current_window->buffer);
+ gui_input_history_global_next (gui_current_window);
else if (string_strcasecmp (argv[1], "jump_smart") == 0)
gui_input_jump_smart (gui_current_window);
else if (string_strcasecmp (argv[1], "jump_last_buffer") == 0)