12 using namespace ftxui;
18 "FTXUI is a C++ library for terminal-based user interfaces.\n"
19 "It is functional, responsive, and cross-platform.\n"
20 "You can now use newlines directly within a single text() element,\n"
21 "making it easier to display multi-line strings without needing\n"
22 "to manually split them into a vbox() of multiple text() elements.") |
25 auto screen = Screen::Create(Dimension::Full(), Dimension::Fit(document));
26 Render(screen, document);
27 std::cout << screen.ToString() << std::endl;