#include <memory>
auto document = text("gradient") | center;
.Angle(45)
.Stop(Color::DeepPink1)
.Stop(Color::DeepSkyBlue1));
auto screen = Screen::Create(Dimension::Full(), Dimension::Full());
screen.Print();
return 0;
}
void Render(Screen &screen, const Element &element)
在 ftxui::Screen 上顯示元素。