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/snippets.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/textadept/snippets.lua') diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua index 3674a079..5f08895e 100644 --- a/modules/textadept/snippets.lua +++ b/modules/textadept/snippets.lua @@ -235,7 +235,8 @@ function M._select() end local i = gui.filteredlist(_L['Select Snippet'], { _L['Trigger'], _L['Scope'], _L['Snippet Text'] }, - t, true, '--output-column', '2') + t, true, '--output-column', '2', + NCURSES and { '--width', gui.size[1] - 2 } or '') if i then M._insert(t[(i + 1) * 3]) end end -- cgit v1.2.3