Removing extra spaces from prompt answers to fix a Windows bug