diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-01-28 15:12:40 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-01-28 15:12:40 +0100 |
commit | 8c042210a86e3eeb8fcb06d184223644b71fe7f8 (patch) | |
tree | 2b574cb25e27e339f3a6ca9e27773a793f99c990 /src | |
parent | 16a02cddafb6cf90da18be251241d00273c282d7 (diff) | |
download | weechat-8c042210a86e3eeb8fcb06d184223644b71fe7f8.zip |
Fix bug with global history, reset pointer to last entry after each user input (bug #28754)
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui-input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/gui-input.c b/src/gui/gui-input.c index e184a2e14..3dd4d431f 100644 --- a/src/gui/gui-input.c +++ b/src/gui/gui-input.c @@ -304,6 +304,7 @@ gui_input_return (struct t_gui_window *window) window->buffer->input_buffer_1st_display = 0; gui_completion_stop (window->buffer->completion, 1); window->buffer->ptr_history = NULL; + history_global_ptr = NULL; gui_input_optimize_size (window->buffer); gui_input_text_changed_modifier_and_signal (window->buffer); input_data (window->buffer, command); |