ja es pot escriure en la consola

This commit is contained in:
2026-03-27 22:54:47 +01:00
parent f25ee18329
commit e85800c5ed
5 changed files with 125 additions and 21 deletions

View File

@@ -445,7 +445,7 @@ void Screen::renderInfo() const {
const int LINE_HEIGHT = text_->getCharacterSize() - 3;
const int X = 0;
int y = 0;
int y = (Console::get() != nullptr) ? Console::get()->getVisibleHeight() : 0;
// FPS
const std::string FPS_TEXT = std::to_string(fps_.last_value) + " fps";