not showing new line when waiting for user's input