Have to force the terminal detected by FTXUI to use full color no matter what it detects in the actual terminal.
This commit is contained in:
parent
0ba789697a
commit
707e9e3d6e
7 changed files with 16 additions and 5 deletions
|
@ -10,6 +10,7 @@ json &Config::operator[](const std::string &key) {
|
|||
}
|
||||
|
||||
std::wstring Config::wstring(const std::string main_key, const std::string sub_key) {
|
||||
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> $converter;
|
||||
const std::string& str_val = $config[main_key][sub_key];
|
||||
return $converter.from_bytes(str_val);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue