mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-28 09:30:58 +01:00
Make stdout line-buffered
This commit is contained in:
parent
7560abbfbd
commit
b2c82c75d0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user