Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
env.cpp File Reference

Terminal color support detection and COLUMN parsing from environment variables. More...

#include "sham/term/env.hpp"
#include "sham/term/color.hpp"
#include "sham/term/tty.hpp"
#include <string_view>
#include <vector>
Include dependency graph for env.cpp:

Go to the source code of this file.

Namespaces

namespace  sham
 namespace for backends this one is named only sham since shambackends is too long to write

Functions

void sham::term::parse_terminal_support (TermEnvVars vars, const term_parse_callback_t &error_callback)
 Parses terminal environment variables to determine color support and set terminal size.

Detailed Description

Terminal color support detection and COLUMN parsing from environment variables.

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file env.cpp.

Function Documentation

◆ parse_terminal_support()

void sham::term::parse_terminal_support ( TermEnvVars vars,
const term_parse_callback_t & error_callback )

Parses terminal environment variables to determine color support and set terminal size.

Definition at line 73 of file env.cpp.