aboutsummaryrefslogtreecommitdiff
path: root/core/ext/command_entry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/ext/command_entry.lua')
-rw-r--r--core/ext/command_entry.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ext/command_entry.lua b/core/ext/command_entry.lua
index 6d46c5c6..4c1ab0dd 100644
--- a/core/ext/command_entry.lua
+++ b/core/ext/command_entry.lua
@@ -7,6 +7,7 @@ textadept.events.add_handler('command_entry_command',
function(command) -- execute a Lua command
local f, err = loadstring(command)
if err then error(err) end
+ textadept.command_entry.focus() -- toggle focus to hide
f()
end)