FTXUI  0.11.1
C++ functional terminal UI.
ftxui::Terminal Namespace Reference

Functions

Dimensions Size ()
 
void SetFallbackSize (const Dimensions &fallbackSize)
 Override terminal size in case auto-detection fails. More...
 
Color ColorSupport ()
 

Enumerations

enum  Color { Palette1 , Palette16 , Palette256 , TrueColor }
 

Enumeration Type Documentation

◆ Color

enum Color
Enumerator
Palette1 
Palette16 
Palette256 
TrueColor 
Examples
examples/dom/color_gallery.cpp, and examples/dom/color_info_palette256.cpp.

Definition at line 14 of file terminal.hpp.

Function Documentation

◆ Size()

Dimensions Size ( )
Examples
examples/component/homescreen.cpp.

Definition at line 30 of file terminal.cpp.

◆ SetFallbackSize()

void SetFallbackSize ( const Dimensions fallbackSize)

Override terminal size in case auto-detection fails.

Parameters
fallbackSizeTerminal dimensions to fallback to

Definition at line 55 of file terminal.cpp.

◆ ColorSupport()

Terminal::Color ColorSupport ( )
Examples
examples/dom/color_gallery.cpp.

Definition at line 98 of file terminal.cpp.