| 288 | } |
| 289 | |
| 290 | void Logger::ConsoleLogger::SetCursorPosition(ivec2 cursorPos) |
| 291 | { |
| 292 | #ifdef PLATFORM_Win |
| 293 | COORD pos; |
| 294 | pos.X = static_cast<int16>(cursorPos.x); |
| 295 | pos.Y = static_cast<int16>(cursorPos.y); |
| 296 | |
| 297 | SetConsoleCursorPosition(m_ConsoleHandle, pos); |
| 298 | #endif |
| 299 | } |
| 300 | |
| 301 | ivec2 Logger::ConsoleLogger::GetCursorPosition() |
| 302 | { |