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

Sorry for being on windows, still :).

(courtesy of satyr)