From cebe49dd2350911dbd161b6e59169199d1079181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Roblot?= Date: Tue, 1 Aug 2023 20:13:04 +0700 Subject: [PATCH] Added some true colors in the benchmark (#717) --- src/ftxui/dom/benchmark_test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ftxui/dom/benchmark_test.cpp b/src/ftxui/dom/benchmark_test.cpp index fea4cd7..4c46709 100644 --- a/src/ftxui/dom/benchmark_test.cpp +++ b/src/ftxui/dom/benchmark_test.cpp @@ -59,6 +59,9 @@ static void BenchmarkStyle(benchmark::State& state) { text("Test") | strikethrough, text("Test") | color(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") | automerge, }));