mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 08:13:14 +02:00
Fixed FIFO pipe buffer detection, away message (301) now displayed in query if
exists, otherwise on server buffer
This commit is contained in:
@@ -108,7 +108,7 @@ gui_action_return (t_gui_window *window)
|
||||
window->buffer->completion.position = -1;
|
||||
window->buffer->ptr_history = NULL;
|
||||
gui_draw_buffer_input (window->buffer, 0);
|
||||
user_command (window, SERVER(window->buffer), command);
|
||||
user_command (window->buffer, SERVER(window->buffer), command);
|
||||
free (command);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -517,7 +517,7 @@ gui_key_pressed (char *key_str)
|
||||
/* exact combo found => execute function or command */
|
||||
gui_key_buffer[0] = '\0';
|
||||
if (ptr_key->command)
|
||||
user_command (gui_current_window,
|
||||
user_command (gui_current_window->buffer,
|
||||
SERVER(gui_current_window->buffer),
|
||||
ptr_key->command);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user