Implemented `flush()`

See: https://github.com/metashock/Jm_Console/issues/1

To be tested