mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 04:46:37 +02:00
Disable loop on commands in history when reaching oldest command
This commit is contained in:
@@ -899,6 +899,8 @@ gui_input_history_previous ()
|
||||
{
|
||||
if (gui_current_window->buffer->ptr_history)
|
||||
{
|
||||
if (!gui_current_window->buffer->ptr_history->next_history)
|
||||
return;
|
||||
gui_current_window->buffer->ptr_history =
|
||||
gui_current_window->buffer->ptr_history->next_history;
|
||||
if (!gui_current_window->buffer->ptr_history)
|
||||
|
||||
Reference in New Issue
Block a user