[*] consoletty pos calculation fix
This commit is contained in:
parent
15c7df1480
commit
0be7c13e1b
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user