Windows console

Fix issue #242