* 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);
|
CharToOemBuffW(&wtemp_buf[0],&temp_buf[0],wtemp_len+1);
|
||||||
printf(temp_buf);
|
printf(temp_buf);
|
||||||
#else
|
#else
|
||||||
printf(str);
|
{
|
||||||
|
va_list v;
|
||||||
|
vprintf(str, v);
|
||||||
|
va_end(v);
|
||||||
|
fflush(stdout);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user