mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-04 10:35:27 +08:00 
			
		
		
		
	
				
					committed by
					
						
						Phil Scott
					
				
			
			
				
	
			
			
			
						parent
						
							9502aaf2b9
						
					
				
				
					commit
					c2bab0ebf8
				
			@@ -16,6 +16,10 @@ var fruits = AnsiConsole.Prompt(
 | 
			
		||||
        .Title("What are your [green]favorite fruits[/]?")
 | 
			
		||||
        .NotRequired() // Not required to have a favorite fruit
 | 
			
		||||
        .PageSize(10)
 | 
			
		||||
        .MoreChoicesText("[grey](Move up and down to reveal more fruits)[/]")
 | 
			
		||||
        .InstructionsText(
 | 
			
		||||
            "[grey](Press [blue]<space>[/] to toggle a fruit, " + 
 | 
			
		||||
            "[green]<enter>[/] to accept)[/]")
 | 
			
		||||
        .AddChoice("Apple")
 | 
			
		||||
        .AddChoices(new[] {
 | 
			
		||||
            "Apricot", "Avocado", 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user