FTXUI
5.0.0
C++ functional terminal UI.
|
Functions | |
Dimensions | Size () |
Get the terminal size. | |
void | SetFallbackSize (const Dimensions &fallbackSize) |
Override terminal size in case auto-detection fails. | |
Color | ColorSupport () |
Get the color support of the terminal. | |
void | SetColorSupport (Color color) |
Override terminal color support in case auto-detection fails. | |
Enumerations | |
enum | Color { Palette1 , Palette16 , Palette256 , TrueColor } |
Enumerator | |
---|---|
Palette1 | |
Palette16 | |
Palette256 | |
TrueColor |
Definition at line 17 of file terminal.hpp.
Dimensions Size | ( | ) |
void SetFallbackSize | ( | const Dimensions & | fallbackSize | ) |
Override terminal size in case auto-detection fails.
fallbackSize | Terminal dimensions to fallback to |
Definition at line 124 of file terminal.cpp.
Color ColorSupport | ( | ) |
Get the color support of the terminal.
Definition at line 130 of file terminal.cpp.
Override terminal color support in case auto-detection fails.
Definition at line 140 of file terminal.cpp.