Fix mode asking prompt to work on windows