Reset terminal color after error message

This commit is contained in:
Babak Farrokhi 2023-03-26 22:05:47 +02:00
parent 9b40881e5d
commit 597a731099
No known key found for this signature in database
GPG Key ID: DCBF25301C0F5FD8
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";
}