1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00

Use similar behaviour for keys bound to local or global history (bug #30759)

This commit is contained in:
Sebastien Helleu
2010-08-12 17:38:59 +02:00
parent 50ac22c16e
commit 94acf64f8c
4 changed files with 167 additions and 168 deletions
+4 -4
View File
@@ -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)