#include "ftxui/component/checkbox.hpp" #include "ftxui/component/container.hpp" #include "ftxui/component/input.hpp" #include "ftxui/component/menu.hpp" #include "ftxui/component/checkbox.hpp" #include "ftxui/component/screen_interactive.hpp" #include "ftxui/component/toggle.hpp" #include "ftxui/screen/string.hpp" using namespace ftxui; class MyComponent : public Component { public: MyComponent() { Add(&container); checkbox.resize(30); for(int i = 0; i checkbox; Container container = Container::Vertical(); }; int main(int argc, const char* argv[]) { auto screen = ScreenInteractive::FitComponent(); MyComponent component; screen.Loop(&component); return 0; }