aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-10-12 13:15:53 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-10-12 13:15:53 -0400
commitd672b9d9607510136abba15354f0451a8f0f1aea (patch)
tree98f24325f7f64851a93ae5665ae36c0f63d1b1d0 /modules
parent836fab9afbb3fcfb11bf7d8e060f55c3cde59a1c (diff)
downloadtextadept-d672b9d9607510136abba15354f0451a8f0f1aea.tar.gz
textadept-d672b9d9607510136abba15354f0451a8f0f1aea.zip
Fixed ncurses bug in command selection introduced by r1256.
Diffstat (limited to 'modules')
-rw-r--r--modules/textadept/menu.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index 234ad62e..f29919fb 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -305,7 +305,6 @@ end
function M.set_menubar(menubar)
key_shortcuts = {}
for key, f in pairs(keys) do key_shortcuts[get_id(f)] = key end
- if NCURSES then return end -- only wanted to populate key_shortcuts
menu_actions = {}
local _menubar = {}
for i = 1, #menubar do