17 #ifndef OSMANIP_UTILITY_OPTIONS_HPP
18 #define OSMANIP_UTILITY_OPTIONS_HPP
83 if constexpr (std::is_same_v<T, CURSOR>) {
88 }
else if constexpr (std::is_same_v<T, ANSI>) {
93 }
else if constexpr (std::is_same_v<T, UNICODECH>) {
100 <<
"Inserted cursor option "
Definition: canvas.cpp:30
void disableUNICODE()
Function used to disable UNICODE characters (used for Windows only).
Definition: windows.cpp:125
void enableANSI()
Function used to enable ANSI escape sequences on Windows.
Definition: windows.cpp:59
const std::unordered_map< std::string, std::string > rst
It is used to store the reset features commands.
Definition: colsty.cpp:114
CURSOR
It is used to store the OPTION function options for the cursor view. Current options are: ON to enabl...
Definition: options.hpp:49
const std::unordered_map< std::string, std::string > tcs
It is used to store the terminal control sequences.
Definition: cursor.cpp:56
const std::unordered_map< std::string, std::string > col
It is used to store the colors. Note: "bg" is the prefix of the background color features and "bd" is...
Definition: colsty.cpp:39
UNICODECH
It is used to store the OPTION function options for the UNICODE characters enabling....
Definition: options.hpp:69
void enableUNICODE()
Function used to enable UNICODE characters (used for Windows only).
Definition: windows.cpp:109
void OPTION(T opt)
It is used to set a specific option.
Definition: options.hpp:82
ANSI
It is used to store the OPTION function options for the ANSI escape sequences enabling....
Definition: options.hpp:59
const std::string & feat(const std::unordered_map< std::string, std::string > &generic_map, const std::string &feat_string)
It takes an std::map object as the first argument and an std::string object (map key) as the second a...
Definition: common.cpp:41
void disableANSI()
Function used to disable ANSI escape sequences on Windows.
Definition: windows.cpp:90