fixed issue with persistent formatting

This commit is contained in:
2024-07-06 21:40:05 -04:00
parent c8b8597e39
commit 84bc342eff

View File

@ -33,7 +33,7 @@ std::string console_output::get_code(const int attr) {
if (attr < 255)
return "\033[0m";
std::string result = "\033[";
std::string result = "\033[0m\033[";
if (attr & A_STANDOUT)
result += "1;";