From 486ca3846b46dc229e5807968578809766ec1991 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 23 Mar 2022 19:41:31 +0100 Subject: feat: implement generations & multithreading --- src/engine/user/input.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/engine/user') diff --git a/src/engine/user/input.hpp b/src/engine/user/input.hpp index 6a9edfd..51f3fcb 100644 --- a/src/engine/user/input.hpp +++ b/src/engine/user/input.hpp @@ -29,7 +29,9 @@ public: void leave_raw_mode() noexcept override; private: - std::array>>, CHAR_MAX> _subscribers; + std::array>>, + static_cast(CHAR_MAX * 2U)> + _subscribers; std::shared_ptr _original_termios = nullptr; -- cgit v1.2.3-18-g5258