Supporting ACCEPT_DEFAULTS flag in ShellUIPromptImpl