diff options
Diffstat (limited to 'src/engine/user/cursor.cpp')
-rw-r--r-- | src/engine/user/cursor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/user/cursor.cpp b/src/engine/user/cursor.cpp index d4a2997..44e24dc 100644 --- a/src/engine/user/cursor.cpp +++ b/src/engine/user/cursor.cpp @@ -7,8 +7,8 @@ void CursorController::move_to(const Vector2 &pos) { - fmt::print(MOVE_CURSOR_TO, fmt::arg("esc", ESC), fmt::arg("row", pos.y()), - fmt::arg("column", pos.x())); + fmt::print(MOVE_CURSOR_TO, fmt::arg("esc", ESC), fmt::arg("row", pos.get_y()), + fmt::arg("column", pos.get_x())); std::cout.flush(); } |