Make stdout line-buffered

This commit is contained in:
TuxSH committed 2018-05-09 11:49:10 +02:00
1 parent 7560abbfbd
commit b2c82c75d0
1 file changed
+1 -1
+1 -1
View File
@@ -107,7 +107,7 @@ static int console_create(void) {
devoptab_list[STD_OUT] = &dotab_stdout;
devoptab_list[STD_ERR] = &dotab_stdout;
setvbuf(stdout, NULL , _IONBF, 0);
setvbuf(stdout, NULL , _IOLBF, 4096);
setvbuf(stderr, NULL , _IONBF, 0);
g_console_created = true;