Please format your code as described in the "Code Blocks" section [here](https://forum.nim-lang.org/about/rst#code-blocks).
I think you just need to write `stdout.flushFile()` after your `stdout.write`.
Please format your code as described in the "Code Blocks" section [here](https://forum.nim-lang.org/about/rst#code-blocks).
I think you just need to write `stdout.flushFile()` after your `stdout.write`.