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:
@@ -42,7 +42,7 @@ class DrawKey : public ftxui::component::Component {
|
||||
};
|
||||
|
||||
int main(int argc, const char* argv[]) {
|
||||
ftxui::ScreenInteractive screen(80,10);
|
||||
auto screen = ftxui::ScreenInteractive::FixedSize(80,10);
|
||||
DrawKey draw_key(screen.delegate());
|
||||
screen.Loop();
|
||||
}
|
||||
|
Reference in New Issue
Block a user