mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-23 04:12:02 +00:00
Make stdout line-buffered
This commit is contained in:
parent
7560abbfbd
commit
b2c82c75d0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue