ftxui::Terminal::Quirks
cpp
#include <ftxui/screen/terminal.hpp>Quirks is a structure that represents various terminal-specific behaviors that may require fallbacks.
Summary
| Symbol | Description |
|---|---|
Quirks | |
~Quirks | |
operator= | |
BlockCharacters | Whether the terminal font supports the 8 Unicode block characters. |
SetBlockCharacters | |
CursorHiding | Whether the terminal correctly handles hiding the cursor. |
SetCursorHiding | |
ComponentAscii | Whether the terminal should use ASCII characters for components. |
SetComponentAscii | |
ColorSupport | The level of color support of the terminal. |
SetColorSupport |
Public Member Functions
Quirks
cpp
Quirks();~Quirks
cpp
~Quirks();Quirks
operator=
Quirks
operator=
BlockCharacters
cpp
bool BlockCharacters() const;Whether the terminal font supports the 8 Unicode block characters.
SetBlockCharacters
cpp
void SetBlockCharacters(bool v);CursorHiding
cpp
bool CursorHiding() const;Whether the terminal correctly handles hiding the cursor.
SetCursorHiding
cpp
void SetCursorHiding(bool v);ComponentAscii
cpp
bool ComponentAscii() const;Whether the terminal should use ASCII characters for components.
SetComponentAscii
cpp
void SetComponentAscii(bool v);ColorSupport
cpp
Color ColorSupport() const;The level of color support of the terminal.
Examples: component/terminal_info, dom/color_gallery
SetColorSupport
cpp
void SetColorSupport(Color v);Examples: component/terminal_info