1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 03:33:12 +02:00

Fix /input history_global_next: reset input content when last command in history is reached

This commit is contained in:
Sebastien Helleu
2009-09-16 15:28:29 +02:00
parent c2300c4095
commit b3501ce9cd
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -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;
}