aboutsummaryrefslogtreecommitdiff
path: root/src/engine/user
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/user')
-rw-r--r--src/engine/user/input.hpp4
1 files changed, 3 insertions, 1 deletions
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<std::vector<std::shared_ptr<ISubscriber<Context>>>, CHAR_MAX> _subscribers;
+ std::array<std::vector<std::shared_ptr<ISubscriber<Context>>>,
+ static_cast<std::size_t>(CHAR_MAX * 2U)>
+ _subscribers;
std::shared_ptr<termios> _original_termios = nullptr;