[#78596198]

Fix ui.Ask to return strings with spaces from stdin

(fixes #264 on github)