aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-04-03 16:56:14 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-04-03 16:56:14 -0400
commit679e188ec027978b37eb36a5f2d52bc2cf04ef77 (patch)
tree61da33e31c8f6f02fcc5fd53e406368635d5df43 /modules/textadept/command_entry.lua
parent00153ab1c0f7307a8589c7d0cc0a3908cb7f0c34 (diff)
downloadtextadept-679e188ec027978b37eb36a5f2d52bc2cf04ef77.tar.gz
textadept-679e188ec027978b37eb36a5f2d52bc2cf04ef77.zip
Textadept should support multiple curses platforms; remove ncurses references.
Requires Scintilla r4436 and Scinterm r45.
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)