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:
Zed A. Shaw 2024-11-03 00:16:52 -04:00
parent 0ba789697a
commit 707e9e3d6e
7 changed files with 16 additions and 5 deletions

View file

@ -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);
}