You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to scroll through a Vertical container during runtime. I have ideas to populate the container with messages and other various strings. With the strings being dynamically added during runtime I can't seem to figure out how to scroll the container's history after it has filled passed the screen height.
auto message_container {ftxui::Container::Vertical({})};
auto message_view_renderer {Renderer(layout, [&] {
returnvbox({
text(L"Basic Message Viewer") | center,
vbox({ message_container->Render() | yflex }) | border | flex
});
})};
I would then have another process running in another thread adding new lines as they arrive.
message_container->Add(ftxui::Renderer([] {}));
Is it possible to scroll the contents of the container?
The text was updated successfully, but these errors were encountered:
I want to be able to scroll through a Vertical container during runtime. I have ideas to populate the container with messages and other various strings. With the strings being dynamically added during runtime I can't seem to figure out how to scroll the container's history after it has filled passed the screen height.
I would then have another process running in another thread adding new lines as they arrive.
message_container->Add(ftxui::Renderer([] {}));
Is it possible to scroll the contents of the container?
The text was updated successfully, but these errors were encountered: