2 references to KeyMatches
dotnet (2)
InteractiveConsole.cs (2)
41
if (key.Key == ConsoleKey.Enter ||
KeyMatches
(key, CliCommandStrings.ConfirmationPromptYesValue))
46
if ((acceptEscapeForFalse && key.Key == ConsoleKey.Escape) ||
KeyMatches
(key, CliCommandStrings.ConfirmationPromptNoValue))