core: flush stdout after changing terminal title (patch from Guido Berhoerster)

This commit is contained in:
Sebastien Helleu 2011-03-26 17:40:20 +01:00
parent a441d67a26
commit 8bfc387579

View File

@ -26,6 +26,7 @@
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdarg.h>
@ -2057,6 +2058,7 @@ gui_window_set_title (const char *title)
printf ("\33]0;%s\7", "Terminal");
}
}
fflush (stdout);
}
}