mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 17:23:15 +02:00
core: flush stdout/stderr after sending text directly on them (fix corrupted data sent to hook_process() callback) (closes #442)
This commit is contained in:
@@ -1639,7 +1639,8 @@ gui_window_search_restart (struct t_gui_window *window)
|
||||
if (CONFIG_BOOLEAN(config_look_search_text_not_found_alert)
|
||||
&& window->buffer->input_buffer && window->buffer->input_buffer[0])
|
||||
{
|
||||
printf ("\a");
|
||||
fprintf (stderr, "\a");
|
||||
fflush (stderr);
|
||||
}
|
||||
gui_buffer_ask_chat_refresh (window->buffer, 2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user