libcopp  2.2.0
Namespaces | Macros | Functions
shell_font.cpp File Reference
#include "cli/shell_font.h"
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <unordered_set>
Include dependency graph for shell_font.cpp:

Go to the source code of this file.

Namespaces

 util
 
 util::cli
 
 util::cli::detail
 

Macros

#define SHELL_FONT_SET_OPT_END   "\033[0m"
 
#define UTIL_STRFUNC_STRCASE_CMP(l, r)   strcasecmp(l, r)
 
#define UTIL_STRFUNC_STRNCASE_CMP(l, r, s)   strncasecmp(l, r, s)
 
#define UTIL_STRFUNC_STRCMP(l, r)   strcmp(l, r)
 
#define UTIL_STRFUNC_STRNCMP(l, r, s)   strncmp(l, r, s)
 

Functions

static char util::cli::detail::tolower (char c)
 
static std::string util::cli::detail::getenv (const char *name)
 
static int util::cli::_check_term_color_status ()
 

Macro Definition Documentation

◆ SHELL_FONT_SET_OPT_END

#define SHELL_FONT_SET_OPT_END   "\033[0m"

Definition at line 10 of file shell_font.cpp.

◆ UTIL_STRFUNC_STRCASE_CMP

#define UTIL_STRFUNC_STRCASE_CMP (   l,
 
)    strcasecmp(l, r)

Definition at line 19 of file shell_font.cpp.

◆ UTIL_STRFUNC_STRCMP

#define UTIL_STRFUNC_STRCMP (   l,
 
)    strcmp(l, r)

Definition at line 21 of file shell_font.cpp.

◆ UTIL_STRFUNC_STRNCASE_CMP

#define UTIL_STRFUNC_STRNCASE_CMP (   l,
  r,
 
)    strncasecmp(l, r, s)

Definition at line 20 of file shell_font.cpp.

◆ UTIL_STRFUNC_STRNCMP

#define UTIL_STRFUNC_STRNCMP (   l,
  r,
 
)    strncmp(l, r, s)

Definition at line 22 of file shell_font.cpp.