#include <iostream>
#include <memory>
int main() {
});
auto screen =
screen.Print();
std::cout << std::endl;
}
static Screen Create(Dimensions dimension)
Create a screen with the given dimension.
Dimensions Fit(Element &, bool extend_beyond_screen=false)
Element borderDouble(Element)
Draw a double border around the element.
Element borderDashed(Element)
Draw a dashed border around the element.
Element separatorLight()
Draw a vertical or horizontal separation in between two other elements, using the LIGHT style.
Element hbox(Elements)
A container displaying elements horizontally one by one.
Element borderHeavy(Element)
Draw a heavy border around the element.
Element text(std::wstring text)
Display a piece of unicode text.
Element separatorDashed()
Draw a vertical or horizontal separation in between two other elements, using the DASHED style.
Element borderLight(Element)
Draw a light border around the element.
void Render(Screen &screen, const Element &element)
Display an element on a ftxui::Screen.
Element separatorDouble()
Draw a vertical or horizontal separation in between two other elements, using the DOUBLE style.
Element separatorHeavy()
Draw a vertical or horizontal separation in between two other elements, using the HEAVY style.
Element vbox(Elements)
A container displaying elements vertically one by one.