bug fix
До этих изменений, при попытке пролистать консоль вниз если консоль была пуста, выводилась ошибка
This commit is contained in:
parent
84ba063908
commit
bf429bdfd9
@ -27,7 +27,7 @@ function on_history_up()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function on_history_down()
|
function on_history_down()
|
||||||
if history_pointer == #history-1 then
|
if history_pointer >= #history-1 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
history_pointer = history_pointer + 1
|
history_pointer = history_pointer + 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user