mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-20 02:28:10 +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