Prevent the prompter to show user's text twice on the console