mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +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)
|
add_to_history(text)
|
||||||
setup_variables()
|
setup_variables()
|
||||||
|
|
||||||
|
document.log.caret = -1
|
||||||
local status, result = pcall(function() return console.execute(text) end)
|
local status, result = pcall(function() return console.execute(text) end)
|
||||||
if result ~= nil then
|
if result ~= nil then
|
||||||
local prevtext = document.log.text
|
local prevtext = document.log.text
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue