Work around IDF inconsistency with stdout buffering.
This commit is contained in:
parent
70c7437cdc
commit
32fa5db1a6
|
@ -156,6 +156,8 @@ static void console_task(void *)
|
|||
{
|
||||
// If we want to honor run_input, we'd need to check the return val
|
||||
feed_lua_input(linebuf, n);
|
||||
// The IDF doesn't seem to honor setvbuf(stdout, NULL, _IONBF, 0) :(
|
||||
fsync(fileno(stdout));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue