This commit is contained in:
MihailRis 2024-05-16 14:15:09 +03:00
parent 5af58fc69d
commit d5171f62da
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
history = session.get_entry("console_history")
history = session.get_entry("commands_history")
history_pointer = #history
function setup_variables()

View File

@ -38,7 +38,7 @@ void TextBox::draw(const DrawContext* pctx, Assets* assets) {
static_cast<int>(
label->getLinesNumber() *
label->getLineInterval() *
font->getLineHeight())
font->getLineHeight()) + 1
);
if (newy != static_cast<int>(size.y)) {
size.y = newy;