diff options
author | 2012-06-22 15:22:25 -0400 | |
---|---|---|
committer | 2012-06-22 15:22:25 -0400 | |
commit | 73699db214f70901d642866f4233fbc99fa792a6 (patch) | |
tree | 9ee6e9d5bc02f377fadd4c99dd055527097768bb /modules/textadept/menu.lua | |
parent | 4bca2f464a111f8561cc69d79b0a202be1da4d48 (diff) | |
download | textadept-73699db214f70901d642866f4233fbc99fa792a6.tar.gz textadept-73699db214f70901d642866f4233fbc99fa792a6.zip |
Resize most filteredlists to fit the ncurses screen.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r-- | modules/textadept/menu.lua | 5 |
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 |