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

@ -6,12 +6,13 @@
using namespace nlohmann;
struct Config {
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> $converter;
json $config;
std::string $src_path = "./config.json";
Config(const std::string src_path);
Config(Config &other) = delete;
Config(json config, std::string src_path)
: $config(config), $src_path(src_path) {}
json &operator[](const std::string &key);