1
0
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:
Sébastien Helleu
2015-07-25 09:16:08 +02:00
parent b99a630705
commit 7572fec261
7 changed files with 18 additions and 3 deletions
+4 -1
View File
@@ -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