core: flush stdout after changing terminal title (patch from Guido Berhoerster)
This commit is contained in:
parent
a441d67a26
commit
8bfc387579
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user