#include <iostream>
#include <memory>
auto document = vbox({
text("borderLight") | borderLight,
text("borderDashed") | borderDashed,
text("borderHeavy") | borderHeavy,
text("borderDouble") | borderDouble,
text("borderRounded") | borderRounded,
});
Screen::Create(Dimension::Fit(document), Dimension::Fit(document));
std::cout << std::endl;
}
void Render(Screen &screen, const Element &element)
Affiche un élément sur un ftxui::Screen.
L'espace de noms FTXUI ftxui::