aboutsummaryrefslogtreecommitdiff
path: root/src/engine/user/cursor.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-15 19:57:02 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:59 +0200
commit019337908e37ffee9b624b313e9d7f885bff9781 (patch)
tree7f8ba5e8b12fff7723b1af2317c3fba52c0c7011 /src/engine/user/cursor.hpp
parent741a6008e806abb8e5aaa8f8fb91827fa97ece9d (diff)
style: change braced list & bracket style
Diffstat (limited to 'src/engine/user/cursor.hpp')
-rw-r--r--src/engine/user/cursor.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/user/cursor.hpp b/src/engine/user/cursor.hpp
index 080321e..ae6fe3c 100644
--- a/src/engine/user/cursor.hpp
+++ b/src/engine/user/cursor.hpp
@@ -24,11 +24,11 @@ constexpr fmt::string_view REQUEST_CURSOR_POSITION = "{esc}[6n";
constexpr fmt::string_view CURSOR_VISIBLE = "{esc}[?25h";
constexpr fmt::string_view CURSOR_INVISIBLE = "{esc}[?25l";
-const std::unordered_map<Vector2, std::string_view, Vector2Hasher>
- direction_format_map = { { Vector2::up(), MOVE_CURSOR_UP },
- { Vector2::down(), MOVE_CURSOR_DOWN },
- { Vector2::left(), MOVE_CURSOR_LEFT },
- { Vector2::right(), MOVE_CURSOR_RIGHT } };
+const std::unordered_map<Vector2, std::string_view, Vector2Hasher> direction_format_map =
+ {{Vector2::up(), MOVE_CURSOR_UP},
+ {Vector2::down(), MOVE_CURSOR_DOWN},
+ {Vector2::left(), MOVE_CURSOR_LEFT},
+ {Vector2::right(), MOVE_CURSOR_RIGHT}};
class CursorController : public ICursorController,
public yacppdic::AutoWirable<ICursorController, CursorController>