diff options
author | HampusM <hampus@hampusmat.com> | 2022-04-04 11:04:41 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:58 +0200 |
commit | a93270968f9aab5d8c1c528daf02c8b27d09eed7 (patch) | |
tree | 471394acdf19139a606ca68e558f84dc45ab5171 /src/engine/user | |
parent | 9e61e23ad2ac72030f14ea59e502c19d52995f3a (diff) |
refactor: fix compiler errors with libc++
Diffstat (limited to 'src/engine/user')
-rw-r--r-- | src/engine/user/cursor.hpp | 2 | ||||
-rw-r--r-- | src/engine/user/input.hpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/user/cursor.hpp b/src/engine/user/cursor.hpp index ccdf71a..fcdfd3b 100644 --- a/src/engine/user/cursor.hpp +++ b/src/engine/user/cursor.hpp @@ -5,11 +5,11 @@ #include "engine/data/vector2.hpp" -#include <array> #include <fmt/core.h> #include <memory> #include <string_view> #include <unordered_map> +#include <vector> constexpr std::string_view MOVE_CURSOR_UP = "{esc}[{amount}A"; constexpr std::string_view MOVE_CURSOR_DOWN = "{esc}[{amount}B"; diff --git a/src/engine/user/input.hpp b/src/engine/user/input.hpp index 66b58c6..410f3a6 100644 --- a/src/engine/user/input.hpp +++ b/src/engine/user/input.hpp @@ -4,6 +4,7 @@ #include "interfaces/input.hpp" #include "interfaces/subscriber.hpp" +#include <array> #include <climits> #include <memory> #include <termios.h> |