Added some true colors in the benchmark (#717)

This commit is contained in:
Clément Roblot 2023-08-01 20:13:04 +07:00 committed by GitHub
parent 4debd4f3de
commit cebe49dd23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,9 @@ static void BenchmarkStyle(benchmark::State& state) {
text("Test") | strikethrough, text("Test") | strikethrough,
text("Test") | color(Color::Red), text("Test") | color(Color::Red),
text("Test") | bgcolor(Color::Red), text("Test") | bgcolor(Color::Red),
text("Test") | color(Color::RGB(42, 87, 124)),
text("Test") | bgcolor(Color::RGB(42, 87, 124)),
text("Test") | color(Color::RGB(42, 87, 124)) | bgcolor(Color::RGB(172, 94, 212)),
text("Test") | blink, text("Test") | blink,
text("Test") | automerge, text("Test") | automerge,
})); }));