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 | |
parent | 16a02cddafb6cf90da18be251241d00273c282d7 (diff) | |
download | weechat-8c042210a86e3eeb8fcb06d184223644b71fe7f8.zip |
Fix bug with global history, reset pointer to last entry after each user input (bug #28754)
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/gui/gui-input.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -9,6 +9,8 @@ Version 0.3.2 (under dev!) * core: add signal "day_changed" * core: remove unneeded space after time on each line if option weechat.look.buffer_time_format is set to empty value (bug #28751) +* gui: fix bug with global history, reset pointer to last entry after each user + input (bug #28754) * api: add missing infos in functions buffer_get_integer / buffer_get_string and in buffer infolist * irc: fix bug with SSL connection (fails sometimes when ssl_verify is on) 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); |