Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Oct 22, 2023
1 parent 857cce7 commit e9bbd40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,15 @@ This can be `5 to 9 times faster than fprintf
fmt::print(fg(fmt::color::crimson) | fmt::emphasis::bold,
"Hello, {}!\n", "world");
fmt::print(fg(fmt::color::floral_white) | bg(fmt::color::slate_gray) |
fmt::emphasis::underline, "¡Olá, {}!\n", "Mundo");
fmt::emphasis::underline, "Olá, {}!\n", "Mundo");
fmt::print(fg(fmt::color::steel_blue) | fmt::emphasis::italic,
"你好{}!\n", "世界");
}

Output on a modern terminal with Unicode support:

.. image:: https://github.com/fmtlib/fmt/assets/
576385/355172ac-6b6f-4aee-88aa-30f082e58e01
576385/2a93c904-d6fa-4aa6-b453-2618e1c327d7

Benchmarks
----------
Expand Down

0 comments on commit e9bbd40

Please sign in to comment.