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