Merge pull request #2445 from farrokhi/master

Reset terminal color after error message
This commit is contained in:
Dirk-Jan C. Binnema
2023-03-30 18:12:13 +03:00
committed by GitHub

View File

@ -42,7 +42,7 @@ output_error(const std::string& what, bool use_color)
std::cerr << col.fg(Color::Red) << "error" << col.reset() << ": "
<< col.fg(Color::BrightYellow)
<< what << "\n";
<< what << col.reset() << "\n";
}