Axel Naumann bd6cbaf3b6 Must flush stdout, else a "lazy" stdout will not flush before prompt.
This situation can happen if stdout is redirected and back. stdout's FILE* has
now changed, and the prompt and stdout end up on different buffers, meaning that
stdout is not flushed before the next prompt.
2017-02-07 15:14:37 +01:00
..