From b74611d2b20fc071b8a699f2ce25e61f60118d6e Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 22 May 2022 23:13:29 +0200 Subject: refactor: improve input handling & remove commands --- src/bootstrap.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/bootstrap.cpp') diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp index 14aa922..6d42263 100644 --- a/src/bootstrap.cpp +++ b/src/bootstrap.cpp @@ -44,7 +44,7 @@ auto bootstrap() noexcept -> yacppdic::Container auto container = yacppdic::Container(); container.bind().to(); - container.bind().to(); + container.bind().to(); container.bind().to(); container.bind().to(); container.bind().to(); @@ -52,7 +52,8 @@ auto bootstrap() noexcept -> yacppdic::Container container.bind().to_factory( [&container]( const std::shared_ptr &scene, - const std::shared_ptr &cursor_controller) + const std::shared_ptr &cursor_controller, + const std::shared_ptr user_input_observer) { std::shared_ptr statusline = container.get()(cursor_controller, scene); @@ -71,6 +72,7 @@ auto bootstrap() noexcept -> yacppdic::Container cursor_controller, generation_tracker, status_manager, + user_input_observer, vector2_statusline_subscriber_adapter_factory); }); -- cgit v1.2.3-18-g5258