#include <memory>
#include <string>
#include <utility>
text("content") | hcenter | dim);
};
for (int x = 3; x < 30; ++x) {
}
auto document =
hbox(std::move(content));
auto screen = Screen::Create(Dimension::Fit(document));
return 0;
}
Element make_box(int x, int y)
return dimx size(HEIGHT, EQUAL, dimy)
return window(text(title)|hcenter|bold, text("contenido")|hcenter|dim)|size(WIDTH
return hbox({ text(std::to_string(int(progress *100))+"% ")|size(WIDTH, EQUAL, 5), gauge(progress), })
El espacio de nombres ftxui:: de FTXUI.
std::vector< Element > Elements