#include <memory>
int main() {
document |=
bgcolor(LinearGradient()
.Angle(45)
screen.Print();
return 0;
}
static Screen Create(Dimensions dimension)
Create a screen with the given dimension.
Decorator bgcolor(Color)
Decorate using a background color.
Element center(Element)
Center an element horizontally and vertically.
Element text(std::wstring text)
Display a piece of unicode text.
void Render(Screen &screen, const Element &element)
Display an element on a ftxui::Screen.