mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-10-31 17:15:28 +08:00 
			
		
		
		
	Merge pull request #1218 from phillip-haydon/patch-1
This commit is contained in:
		| @@ -29,13 +29,13 @@ var fruits = AnsiConsole.Prompt( | ||||
|             "[grey](Press [blue]<space>[/] to toggle a fruit, " +  | ||||
|             "[green]<enter>[/] to accept)[/]") | ||||
|         .AddChoices(new[] { | ||||
|             "Apple", "Apricot", "Avocado",  | ||||
|             "Apple", "Apricot", "Avocado", | ||||
|             "Banana", "Blackcurrant", "Blueberry", | ||||
|             "Cherry", "Cloudberry", "Cocunut", | ||||
|             "Cherry", "Cloudberry", "Coconut", | ||||
|         })); | ||||
|  | ||||
| // Write the selected fruits to the terminal | ||||
| foreach (string fruit in fruits)  | ||||
| foreach (string fruit in fruits) | ||||
| { | ||||
|     AnsiConsole.WriteLine(fruit); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Patrik Svensson
					Patrik Svensson