mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-02-25 06:39:55 +00: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_OUT] = &dotab_stdout;
|
||||||
devoptab_list[STD_ERR] = &dotab_stdout;
|
devoptab_list[STD_ERR] = &dotab_stdout;
|
||||||
|
|
||||||
setvbuf(stdout, NULL , _IONBF, 0);
|
setvbuf(stdout, NULL , _IOLBF, 4096);
|
||||||
setvbuf(stderr, NULL , _IONBF, 0);
|
setvbuf(stderr, NULL , _IONBF, 0);
|
||||||
|
|
||||||
g_console_created = true;
|
g_console_created = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user