Reset terminal color after error message

This commit is contained in:
Babak Farrokhi 2023-03-26 22:05:47 +02:00 committed by Dirk-Jan C. Binnema
parent fc1193d4b6
commit 34b4288fe5
1 changed files with 1 additions and 1 deletions

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";
}