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