Leonardus
Loading...
Searching...
No Matches
io.h
Go to the documentation of this file.
1
17#pragma once
18
19// Inc Library
20#include <string_view>
21
22
24namespace io {
25
28 int nof();
29
30
32 constexpr std::string_view AEC_FGCOL_RESET = "\x1b[39m";
33
34
36 constexpr std::string_view AEC_BGCOL_RESET = "\x1b[49m";
37
38
40 constexpr std::string_view AEC_FGCOL_HEADER = "\x1b[33m";
41
42
44 constexpr std::string_view AEC_FGCOL_DICTVALUE = "\x1b[93m";
45
46
48 constexpr std::string_view AEC_BGCOL_LIST = "\x1b[48;5;238m";
49
50} // namespace io
Collection of low level IO helpers.
Definition io.h:24
constexpr std::string_view AEC_FGCOL_DICTVALUE
ANSI escape code foreground color for dictionary values.
Definition io.h:44
constexpr std::string_view AEC_BGCOL_LIST
ANSI escape code background color for lists.
Definition io.h:48
constexpr std::string_view AEC_FGCOL_RESET
ANSI escape code foreground color reset.
Definition io.h:32
constexpr std::string_view AEC_FGCOL_HEADER
ANSI escape code foreground color for headers.
Definition io.h:40
constexpr std::string_view AEC_BGCOL_RESET
ANSI escape code background color reset.
Definition io.h:36
int nof()
Look up number of open files with fcntl().
Definition io.cpp:26