From 73699db214f70901d642866f4233fbc99fa792a6 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 22 Jun 2012 15:22:25 -0400 Subject: Resize most filteredlists to fit the ncurses screen. --- modules/textadept/menu.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/textadept/menu.lua') 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 -- cgit v1.2.3