mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
console log caret fix
This commit is contained in:
parent
e27170893e
commit
2bb8075c2e
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ function submit(text)
|
|||
add_to_history(text)
|
||||
setup_variables()
|
||||
|
||||
document.log.caret = -1
|
||||
local status, result = pcall(function() return console.execute(text) end)
|
||||
if result ~= nil then
|
||||
local prevtext = document.log.text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue