diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-09-16 15:28:29 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-09-16 15:28:29 +0200 |
commit | b3501ce9cd198a9c2c345210b70e32d33d5469f9 (patch) | |
tree | b7eec34dd453ed168a62eeb58b7c88f32301d148 /src | |
parent | c2300c40956464a9fa4b89fa75c2b0dc0f9da0a0 (diff) | |
download | weechat-b3501ce9cd198a9c2c345210b70e32d33d5469f9.zip |
Fix /input history_global_next: reset input content when last command in history is reached
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 2429f31eb..806a97b9d 100644 --- a/src/gui/gui-input.c +++ b/src/gui/gui-input.c @@ -1078,6 +1078,7 @@ gui_input_history_global_next () } else { + gui_current_window->buffer->input_buffer[0] = '\0'; gui_current_window->buffer->input_buffer_size = 0; gui_current_window->buffer->input_buffer_length = 0; } |