From 12696e78a72f44484a6ed9d25e09ccb9bfacc1fd Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Thu, 10 Oct 2019 21:33:15 +0000 Subject: [PATCH] Fix color stream print example --- include/fmt/color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/color.h b/include/fmt/color.h index 6c64b43b..56ef6cd4 100644 --- a/include/fmt/color.h +++ b/include/fmt/color.h @@ -534,7 +534,7 @@ void vprint(std::FILE* f, const text_style& ts, const S& format, Formats a string and prints it to the specified file stream using ANSI escape sequences to specify text formatting. Example: - fmt::print(fmt::emphasis::bold | fg(fmt::color::red), + fmt::print(stderr, fmt::emphasis::bold | fg(fmt::color::red), "Elapsed time: {0:.2f} seconds", 1.23); */ template