Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
sham::term::TermEnvVars Struct Reference

Holds optional terminal environment variables (TERM, COLORTERM, NO_COLOR, CLICOLOR_FORCE, COLUMN, LANG, LC_ALL, LC_CTYPE, NO_UTF8, FORCE_UTF8). More...

#include <shamterm/include/sham/term/env.hpp>

Public Attributes

std::optional< std::string_view > TERM
std::optional< std::string_view > COLORTERM
std::optional< std::string_view > NO_COLOR
std::optional< std::string_view > CLICOLOR_FORCE
std::optional< std::string_view > COLUMN
std::optional< std::string_view > LANG
std::optional< std::string_view > lc_all
std::optional< std::string_view > lc_ctype
std::optional< std::string_view > NO_UTF8
std::optional< std::string_view > FORCE_UTF8

Detailed Description

Holds optional terminal environment variables (TERM, COLORTERM, NO_COLOR, CLICOLOR_FORCE, COLUMN, LANG, LC_ALL, LC_CTYPE, NO_UTF8, FORCE_UTF8).

Note: the LC_ALL/LC_CTYPE env vars are exposed as lc_all/lc_ctype here since LC_ALL and LC_CTYPE are reserved macro names defined by <locale.h>.

Definition at line 33 of file env.hpp.

Member Data Documentation

◆ CLICOLOR_FORCE

std::optional<std::string_view> sham::term::TermEnvVars::CLICOLOR_FORCE

Definition at line 37 of file env.hpp.

◆ COLORTERM

std::optional<std::string_view> sham::term::TermEnvVars::COLORTERM

Definition at line 35 of file env.hpp.

◆ COLUMN

std::optional<std::string_view> sham::term::TermEnvVars::COLUMN

Definition at line 38 of file env.hpp.

◆ FORCE_UTF8

std::optional<std::string_view> sham::term::TermEnvVars::FORCE_UTF8

Definition at line 43 of file env.hpp.

◆ LANG

std::optional<std::string_view> sham::term::TermEnvVars::LANG

Definition at line 39 of file env.hpp.

◆ lc_all

std::optional<std::string_view> sham::term::TermEnvVars::lc_all

Definition at line 40 of file env.hpp.

◆ lc_ctype

std::optional<std::string_view> sham::term::TermEnvVars::lc_ctype

Definition at line 41 of file env.hpp.

◆ NO_COLOR

std::optional<std::string_view> sham::term::TermEnvVars::NO_COLOR

Definition at line 36 of file env.hpp.

◆ NO_UTF8

std::optional<std::string_view> sham::term::TermEnvVars::NO_UTF8

Definition at line 42 of file env.hpp.

◆ TERM

std::optional<std::string_view> sham::term::TermEnvVars::TERM

Definition at line 34 of file env.hpp.


The documentation for this struct was generated from the following file: