mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-19 01:38:08 +08:00
Fix format. Try compile on Windows.
This commit is contained in:
@@ -5,12 +5,14 @@
|
||||
int main(int argc, const char *argv[])
|
||||
{
|
||||
using namespace ftxui;
|
||||
// clang-format off
|
||||
auto document =
|
||||
hbox(
|
||||
text(L"This text is "),
|
||||
text(L"dim") | dim,
|
||||
text(L". Do you like it?")
|
||||
);
|
||||
// clang-format on
|
||||
auto screen = Screen::Create(Dimension::Full(), Dimension::Fit(document));
|
||||
Render(screen, document.get());
|
||||
|
||||
|
Reference in New Issue
Block a user