When the client gets prompts containing \r from SSH, they are displayed as ^M. We should filter these before displaying the dialog.