ftxui::Terminal
Color
ftxui::Terminal::Color
Palette1
Palette16
Palette256
TrueColor
Dimensions Dimensions Size () Size ftxui::Terminal::Size

Get the terminal size.

The terminal size.

void void SetFallbackSize (const Dimensions &fallbackSize) SetFallbackSize ftxui::Terminal::SetFallbackSize const Dimensions & fallbackSize

Override terminal size in case auto-detection fails.

fallbackSize

Terminal dimensions to fallback to

Color Color ColorSupport () ColorSupport ftxui::Terminal::ColorSupport

Get the color support of the terminal.

void void SetColorSupport (Color color) SetColorSupport ftxui::Terminal::SetColorSupport Color color

Override terminal color support in case auto-detection fails.