1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-10 06:01:52 +00:00

Make stdout line-buffered

This commit is contained in:
TuxSH 2018-05-09 11:49:10 +02:00
parent 7560abbfbd
commit b2c82c75d0

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;