diff --git a/src/btop_theme.hpp b/src/btop_theme.hpp index dcc00e44e..792bb2aaf 100644 --- a/src/btop_theme.hpp +++ b/src/btop_theme.hpp @@ -58,6 +58,8 @@ namespace Theme { extern std::unordered_map> gradients; //* Return escape code for color + template + inline const string& c(const char (&name)[N]) { return colors.at(name); } inline const string& c(const string& name) { return colors.at(name); } //* Return array of escape codes for color gradient