mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-10-31 09:09:25 +08:00 
			
		
		
		
	fixed documentation for selection and multiselection (#499)
This commit is contained in:
		 Nils Andresen
					Nils Andresen
				
			
				
					committed by
					
						 Patrik Svensson
						Patrik Svensson
					
				
			
			
				
	
			
			
			 Patrik Svensson
						Patrik Svensson
					
				
			
						parent
						
							c5c1852fc3
						
					
				
				
					commit
					b3ef7d4fa6
				
			| @@ -29,9 +29,8 @@ var fruits = AnsiConsole.Prompt( | ||||
|         .InstructionsText( | ||||
|             "[grey](Press [blue]<space>[/] to toggle a fruit, " +  | ||||
|             "[green]<enter>[/] to accept)[/]") | ||||
|         .AddChoice("Apple") | ||||
|         .AddChoices(new[] { | ||||
|             "Apricot", "Avocado",  | ||||
|             "Apple", "Apricot", "Avocado",  | ||||
|             "Banana", "Blackcurrant", "Blueberry", | ||||
|             "Cherry", "Cloudberry", "Cocunut", | ||||
|         })); | ||||
|   | ||||
| @@ -22,9 +22,8 @@ var fruit = AnsiConsole.Prompt( | ||||
|         .Title("What's your [green]favorite fruit[/]?") | ||||
|         .PageSize(10) | ||||
|         .MoreChoicesText("[grey](Move up and down to reveal more fruits)[/]") | ||||
|         .AddChoice("Apple") | ||||
|         .AddChoices(new[] { | ||||
|             "Apricot", "Avocado",  | ||||
|             "Apple", "Apricot", "Avocado",  | ||||
|             "Banana", "Blackcurrant", "Blueberry", | ||||
|             "Cherry", "Cloudberry", "Cocunut", | ||||
|         })); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user