mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-11-04 13:38:14 +08:00 
			
		
		
		
	Improve color handling. (#49)
This commit is contained in:
		@@ -9,10 +9,15 @@ class Terminal {
 | 
			
		||||
    int dimx;
 | 
			
		||||
    int dimy;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  static bool CanSupportTrueColors();
 | 
			
		||||
 | 
			
		||||
  static Dimensions Size();
 | 
			
		||||
 | 
			
		||||
  enum Color {
 | 
			
		||||
    Palette1,
 | 
			
		||||
    Palette16,
 | 
			
		||||
    Palette256,
 | 
			
		||||
    TrueColor,
 | 
			
		||||
  };
 | 
			
		||||
  static Color ColorSupport();
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
}  // namespace ftxui
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user