From c988905add09cf8baf46dc61279528f6f39f7a1a Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 10 Mar 2022 20:16:14 +0100 Subject: feat: add status bar --- src/bootstrap.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/bootstrap.cpp') diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp index 8aeba85..5ff71db 100644 --- a/src/bootstrap.cpp +++ b/src/bootstrap.cpp @@ -70,10 +70,12 @@ Container bootstrap() }); container.bind().to_factory(normalize_lambda( - [&container]() + [&container](const std::shared_ptr &cursor_controller, + const std::shared_ptr &window) { - return std::dynamic_pointer_cast(std::make_shared( - container.get>())); + return std::dynamic_pointer_cast( + std::make_shared(container.get>(), + cursor_controller, window)); })); return container; -- cgit v1.2.3-18-g5258