aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/command_entry.lua')
-rw-r--r--modules/textadept/command_entry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua
index 31e3cff1..7e52282b 100644
--- a/modules/textadept/command_entry.lua
+++ b/modules/textadept/command_entry.lua
@@ -35,7 +35,7 @@ local events = events
events.connect(events.COMMAND_ENTRY_COMMAND, function(command)
local f, err = load(command, nil, 'bt', env)
if err then error(err) end
- if not NCURSES then gui.command_entry.focus() end -- toggle focus to hide
+ if not CURSES then gui.command_entry.focus() end -- toggle focus to hide
f()
events.emit(events.UPDATE_UI)
end)