why
parent
15e1b263a4
commit
463e36e48d
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
include(cmake/color.cmake)
|
include(cmake/color.cmake)
|
||||||
set(BLT_VERSION 2.0.7)
|
set(BLT_VERSION 2.0.8)
|
||||||
|
|
||||||
set(BLT_TARGET BLT)
|
set(BLT_TARGET BLT)
|
||||||
|
|
||||||
|
|
|
@ -157,7 +157,7 @@ namespace blt::logging
|
||||||
inline auto make_color(Args... colors)
|
inline auto make_color(Args... colors)
|
||||||
{
|
{
|
||||||
std::string mode;
|
std::string mode;
|
||||||
((mode + std::string(colors) + ";"), ...);
|
((mode += std::string(colors) + ";"), ...);
|
||||||
return ESC("[" + mode.substr(0, mode.size() - 1) + "m");
|
return ESC("[" + mode.substr(0, mode.size() - 1) + "m");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue