mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-25 20:27:31 +08:00
Run IWYU and clang-format
This commit is contained in:
parent
b0a7f88f07
commit
00e63993ce
@ -1,5 +1,5 @@
|
||||
#include <iostream>
|
||||
#include <benchmark/benchmark.h>
|
||||
#include <iostream>
|
||||
|
||||
#include "ftxui/dom/elements.hpp" // for gauge, separator, operator|, text, Element, hbox, vbox, blink, border, inverted
|
||||
#include "ftxui/dom/node.hpp" // for Render
|
||||
@ -61,7 +61,8 @@ static void BenchmarkStyle(benchmark::State& state) {
|
||||
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") | color(Color::RGB(42, 87, 124)) |
|
||||
bgcolor(Color::RGB(172, 94, 212)),
|
||||
text("Test") | blink,
|
||||
text("Test") | automerge,
|
||||
}));
|
||||
|
@ -75,7 +75,8 @@ struct WordBreakPropertyInterval {
|
||||
|
||||
// Properties from:
|
||||
// https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/WordBreakProperty.txt
|
||||
static constexpr std::array<WordBreakPropertyInterval, 993> g_word_break_intervals = {{
|
||||
static constexpr std::array<WordBreakPropertyInterval, 993>
|
||||
g_word_break_intervals = {{
|
||||
{0x0000A, 0x0000A, WBP::LF},
|
||||
{0x0000B, 0x0000C, WBP::Newline},
|
||||
{0x0000D, 0x0000D, WBP::CR},
|
||||
|
Loading…
Reference in New Issue
Block a user