add console option for windows
Merge pull request #64 from da2ce7/master

add console option for windows