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:
@@ -1157,7 +1157,10 @@ gui_completion_complete (struct t_gui_completion *completion)
|
||||
|
||||
/* alert user of partial completion */
|
||||
if (CONFIG_BOOLEAN(config_completion_partial_completion_alert))
|
||||
printf ("\a");
|
||||
{
|
||||
fprintf (stderr, "\a");
|
||||
fflush (stderr);
|
||||
}
|
||||
|
||||
/*
|
||||
* send "partial_completion" signal, to display possible
|
||||
|
||||
Reference in New Issue
Block a user