diff --git a/res/layouts/console.xml.lua b/res/layouts/console.xml.lua index 7ed29c1f..31314ca5 100644 --- a/res/layouts/console.xml.lua +++ b/res/layouts/console.xml.lua @@ -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