|
FTXUI
5.0.0
C++ functional terminal UI.
|
Functions | |
| Dimensions | Size () |
| Get the terminal size. More... | |
| void | SetFallbackSize (const Dimensions &fallbackSize) |
| Override terminal size in case auto-detection fails. More... | |
| Color | ColorSupport () |
| Get the color support of the terminal. More... | |
| void | SetColorSupport (Color color) |
| Override terminal color support in case auto-detection fails. More... | |
Enumerations | |
| enum | Color { Palette1 , Palette16 , Palette256 , TrueColor } |
| enum Color |
| Enumerator | |
|---|---|
| Palette1 | |
| Palette16 | |
| Palette256 | |
| TrueColor | |
Definition at line 17 of file terminal.hpp.
| Dimensions Size | ( | ) |
Get the terminal size.
Definition at line 94 of file terminal.cpp.
| 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.
| void SetColorSupport | ( | Color | color | ) |
Override terminal color support in case auto-detection fails.
Definition at line 140 of file terminal.cpp.