mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix windows printf output to match standard unix line buffering
This commit is contained in:
parent
90e26a34c5
commit
56e880117e
@ -372,6 +372,7 @@ _setmode(_fileno(stdin), mode);
|
||||
_setmode(_fileno(stdout), _O_U8TEXT);
|
||||
SetConsoleMode(GetStdHandle(STD_OUTPUT_HANDLE), ENABLE_PROCESSED_OUTPUT | 0x0004);
|
||||
// ENABLE_VIRTUAL_TERMINAL_PROCESSING
|
||||
setbuf(stdout,0);
|
||||
#endif
|
||||
g_str_buf=malloc(1000);
|
||||
$consts_init_body
|
||||
|
Loading…
Reference in New Issue
Block a user