aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r--modules/textadept/menu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index df800e02..02ae948b 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -565,7 +565,7 @@ function M.select_command()
build_command_tables(getmetatable(M.menubar).menu)
local button, i = ui.dialogs.filteredlist{
title = _L['Run Command'], columns = {_L['Command'], _L['Key Binding']},
- items = items, width = CURSES and ui.size[1] - 2 or nil
+ items = items
}
if button == 1 and i then events.emit(events.MENU_CLICKED, i) end
end