Improve color handling. (#49)

This commit is contained in:
Arthur Sonzogni
2020-10-16 22:31:24 +02:00
committed by GitHub
parent 6a35efa3b7
commit d969c74341
12 changed files with 531 additions and 388 deletions

View File

@@ -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