ArthurSonzogni / FTXUI

:computer: C++ Functional Terminal User Interface. :heart:
MIT License
6.74k stars 404 forks source link

Display problem #572

Open Rowlet-Pan opened 1 year ago

Rowlet-Pan commented 1 year ago

Is there any way to display all the content when the content to be displayed exceeds the height of the screen?

Plat: Windows 10

img1: image

img2: image

Code:

auto document = table.Render();
auto screen = Screen::Create(Dimension::Fit(document));
ftxui::Render(screen, document);
screen.Print();
std::cout << std::endl;

Thanks!

ArthurSonzogni commented 1 year ago

There are no way to draw outside of the size of the terminal at the moment. I think we can do an exception for those not creating components.

Rowlet-Pan commented 12 months ago

Can this requirement be realized now?