end stdin on ctrl+d/ctrl+z for windows. satyr/coco#204
Merge pull request #340 from Nami-Doc/stdinend-windows

end stdin on ctrl+d/ctrl+z for windows. satyr/coco#204