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.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index 675428b4..e18d0d02 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -326,10 +326,7 @@ local columns = { _L['Command'], _L['Key Command'] }
-- @name select_command
function M.select_command()
local i = gui.filteredlist(_L['Run Command'], columns, items, true,
- NCURSES and {
- '--width', gui.size[1] - 2,
- '--height', gui.size[2] - 2,
- } or '')
+ NCURSES and { '--width', gui.size[1] - 2 } or '')
if i then keys.run_command(commands[i + 1], type(commands[i + 1])) end
end