|
FTXUI 7.0.3
C++ functional terminal UI.
|
Enumerations | |
| enum | Color : uint8_t { Palette1 , Palette16 , Palette256 , TrueColor } |
| Colorは、ターミナルの色サポートを表す列挙型です。 More... | |
Functions | |
| FTXUI_EXPORT (SCREEN) Quirks | |
| Quirksは、フォールバックが必要となる可能性のある様々な ターミナル固有の動作を表す構造体です。 | |
| FTXUI_EXPORT (SCREEN) void SetFallbackSize(const Dimensions &fallbackSize) | |
| Color | ComputeColorSupport (std::string_view term, std::string_view colorterm, std::string_view term_program, std::string_view terminal_name, std::string_view terminal_emulator_name, const std::vector< int > &capabilities) |
| 環境変数とターミナル識別に基づいて色サポートを計算します。 | |
| Dimensions | Size () |
| ターミナルサイズを取得します。 | |
| void | SetFallbackSize (const Dimensions &fallbackSize) |
| 自動検出が失敗した場合にターミナルサイズを上書きします | |
| Color | ColorSupport () |
| ターミナルの色サポートを取得します。 | |
| void | SetColorSupport (Color color) |
| 自動検出が失敗した場合にターミナルの色サポートを上書きします | |
| Quirks | GetQuirks () |
| ターミナルのクイークを取得します。 | |
| void | SetQuirks (const Quirks &quirks) |
| ターミナルのクイークを上書きします。 | |
| FTXUI_EXPORT | ( | SCREEN | ) | const & |
| Color ComputeColorSupport | ( | std::string_view | term, |
| std::string_view | colorterm, | ||
| std::string_view | term_program, | ||
| std::string_view | terminal_name, | ||
| std::string_view | terminal_emulator_name, | ||
| const std::vector< int > & | capabilities ) |
環境変数とターミナル識別に基づいて色サポートを計算します。
| term | TERM環境変数。 |
| colorterm | COLORTERM環境変数。 |
| term_program | TERM_PROGRAM環境変数。 |
| terminal_name | ターミナル名 (DA2から)。 |
| terminal_emulator_name | ターミナルエミュレータ名 (XTVERSIONから)。 |
| capabilities | ターミナルの能力 (DA1から)。 |
Definition at line 192 of file terminal.cpp.
| void SetFallbackSize | ( | const Dimensions & | fallbackSize | ) |
自動検出が失敗した場合にターミナルサイズを上書きします
| fallbackSize | フォールバックするターミナルサイズ |
Definition at line 327 of file terminal.cpp.