diff --git a/SpectreDemos/Program.cs b/SpectreDemos/Program.cs index 0138189..9c3a26d 100644 --- a/SpectreDemos/Program.cs +++ b/SpectreDemos/Program.cs @@ -91,7 +91,9 @@ List favoriteName = AnsiConsole.Prompt( .InstructionsText( "[grey](Press [blue][/] to toggle selection, " + "[green][/] to accept)[/]") - .AddChoices(usualNames) + //.AddChoices(usualNames) + .AddChoiceGroup("Usual Names", usualNames) + .AddChoiceGroup("Family Names", familyNames) ); foreach (string name in favoriteName)