From f0bd0c5d09ba763bd912a868edae3cc0f9f1c4f2 Mon Sep 17 00:00:00 2001 From: OmniaX-Dev Date: Sun, 22 Mar 2026 18:50:58 +0100 Subject: [PATCH] Fixed coordinate order in ostd::BasicConsole::setConsoleCursorPosition() function --- other/build.nr | 2 +- src/ostd/io/Console.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/other/build.nr b/other/build.nr index 2fc31b3..8692eaf 100644 --- a/other/build.nr +++ b/other/build.nr @@ -1 +1 @@ -2028 +2029 diff --git a/src/ostd/io/Console.cpp b/src/ostd/io/Console.cpp index a649ff0..10e460c 100644 --- a/src/ostd/io/Console.cpp +++ b/src/ostd/io/Console.cpp @@ -81,7 +81,7 @@ void BasicConsole::getConsoleSize(int32_t& outColumns, int32_t& outRows) void BasicConsole::setConsoleCursorPosition(int32_t x, int32_t y) { - printf("\033[%d;%dH",x+1,y+1); + printf("\033[%d;%dH",y+1,x+1); } IPoint BasicConsole::getConsoleCursorPosition(void)