FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
terminal.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  ftxui
 The FTXUI ftxui:: namespace.
 
namespace  ftxui::Terminal
 

Functions

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)
 Compute the color support based on environment variables and terminal identification.
 
Dimensions Size ()
 Get the terminal size.
 
void SetFallbackSize (const Dimensions &fallbackSize)
 Override terminal size in case auto-detection fails.
 
Color ColorSupport ()
 Get the color support of the terminal.
 
void SetColorSupport (Color color)
 Override terminal color support in case auto-detection fails.
 
Quirks GetQuirks ()
 Get the terminal quirks.
 
void SetQuirks (const Quirks &quirks)
 Override terminal quirks.