* Fixed the console in Linux so the prompt doesn't get hung, that was so
* annoying. Original idea by stump --HG-- branch : trunk
This commit is contained in:
@@ -98,7 +98,12 @@ void utf8print(const char* str)
|
||||
CharToOemBuffW(&wtemp_buf[0],&temp_buf[0],wtemp_len+1);
|
||||
printf(temp_buf);
|
||||
#else
|
||||
printf(str);
|
||||
{
|
||||
va_list v;
|
||||
vprintf(str, v);
|
||||
va_end(v);
|
||||
fflush(stdout);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user