forked from qt-creator/qt-creator
Previously this folder didn't exist, but now it's better to have them all in one place. Change-Id: Ib8a2f24157a34e817e653929d01dfc9675f1c019 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
11 lines
382 B
C++
11 lines
382 B
C++
#include <fmt/color.h>
|
|
|
|
int main() {
|
|
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, "Hello, {}!\n", "мир");
|
|
fmt::print(fg(fmt::color::steel_blue) | fmt::emphasis::italic,
|
|
"Hello, {}!\n", "世界");
|
|
}
|