[*] consoletty pos calculation fix

This commit is contained in:
Reece Wilson 2022-12-27 15:17:34 +00:00
parent 15c7df1480
commit 0be7c13e1b

View File

@ -1655,7 +1655,9 @@ namespace Aurora::Console::ConsoleTTY
auto indexBeforePadding = (this->GetBannerFootBorder() ? 1 + this->topLogPadding : 0) + this->topLogPaddingExtra; auto indexBeforePadding = (this->GetBannerFootBorder() ? 1 + this->topLogPadding : 0) + this->topLogPaddingExtra;
auto startIndex = this->GetTopBorder() + this->GetBannerLines() + indexBeforePadding; auto startIndex = this->GetTopBorder() + this->GetBannerLines() + indexBeforePadding;
int drawPos = {};
//auto startIndex2 = this->topLogPaddingExtra + indexBeforePadding;
int drawPos = startIndex;
auto maxLines = GetLogBoxLines(); auto maxLines = GetLogBoxLines();