mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-04 18:40:50 +08:00 
			
		
		
		
	Update ColumnsSample to showcase nicer data (#1295)
Also, I switched the base width of the AsciiCast back to 82 (from 120) so newly created casts are no longer overflowing the display with on the pages. Re-created the Panel and BreakdownChart casts, as they were currently overflowing due to the 120 chars width of the cast.
This commit is contained in:
		@@ -9,7 +9,7 @@ namespace Generator.Commands.Samples
 | 
			
		||||
    {
 | 
			
		||||
        public abstract void Run(IAnsiConsole console);
 | 
			
		||||
        public virtual string Name() => PascalToKebab(GetType().Name.Replace("Sample",""));
 | 
			
		||||
        public virtual (int Cols, int Rows) ConsoleSize => (120, 24);
 | 
			
		||||
        public virtual (int Cols, int Rows) ConsoleSize => (82, 24);
 | 
			
		||||
        public virtual IEnumerable<(string Name, Action<Capabilities> CapabilitiesAction)> GetCapabilities()
 | 
			
		||||
        {
 | 
			
		||||
            return new (string Name, Action<Capabilities> CapabilitiesAction)[]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user