38 enum class Bool : std::uint8_t
66 using Strings = std::array<std::string, StringNumber>;
67 using Integers = std::array<std::uint32_t, IntegerNumber>;
static bool get(const Term::Terminfo::Bool &key)
static const constexpr std::size_t IntegerNumber
static const constexpr std::size_t BoolNumber
static void checkTerminalName()
static void checkControlSequences()
static void checkLegacy()
static const constexpr std::size_t StringNumber
static ColorMode getColorMode()
@ Legacy
Terminal is in legacy mode (Windows only).
@ ControlSequences
Terminal support control sequences.
@ UTF8
terminal has UTF-8 activated.
static void checkColorMode()
static void set(const Term::Terminfo::Bool &key, const bool &value)
static void checkTermEnv()
std::array< bool, BoolNumber > Booleans
std::array< std::uint32_t, IntegerNumber > Integers
static ColorMode m_colorMode
static Integers m_integers
@ TermName
Name of the terminal program if available.
@ TermVersion
Terminal version.
@ TermEnv
TERM environment variable value.
static Booleans m_booleans
std::array< std::string, StringNumber > Strings
static void checkTerminalVersion()