mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Pipeable decoration and the package_manager example.
- Pipeable decorator. - package_manager example.
This commit is contained in:
@@ -62,7 +62,7 @@ class MyComponent : ComponentVertical {
|
||||
};
|
||||
|
||||
int main(int argc, const char* argv[]) {
|
||||
ftxui::ScreenInteractive screen(70,7);
|
||||
auto screen = ftxui::ScreenInteractive::TerminalOutput();
|
||||
MyComponent component(screen.delegate());
|
||||
component.on_enter = screen.ExitLoopClosure();
|
||||
screen.Loop();
|
||||
|
Reference in New Issue
Block a user