aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-06-22 15:22:25 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-06-22 15:22:25 -0400
commit73699db214f70901d642866f4233fbc99fa792a6 (patch)
tree9ee6e9d5bc02f377fadd4c99dd055527097768bb /modules/textadept/keys.lua
parent4bca2f464a111f8561cc69d79b0a202be1da4d48 (diff)
downloadtextadept-73699db214f70901d642866f4233fbc99fa792a6.tar.gz
textadept-73699db214f70901d642866f4233fbc99fa792a6.zip
Resize most filteredlists to fit the ncurses screen.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 3f6a1f70..4c9d68a0 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -328,7 +328,8 @@ keys[not OSX and (not NCURSES and 'cai' or 'mi')
-- TODO: { utils.set_encoding, 'ISO-8859-1' }
-- TODO: { utils.set_encoding, 'MacRoman' }
-- TODO: { utils.set_encoding, 'UTF-16LE' }
-keys[not OSX and 'cL' or 'mL'] = m_textadept.mime_types.select_lexer
+keys[not OSX and not NCURSES and 'cL'
+ or 'mL'] = m_textadept.mime_types.select_lexer
keys.f5 = { buffer.colourise, buffer, 0, -1 }
if NCURSES then keys.cl = keys.f5 end