aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/manual.md5
-rw-r--r--modules/textadept/keys.lua5
-rw-r--r--src/Makefile2
3 files changed, 8 insertions, 4 deletions
diff --git a/doc/manual.md b/doc/manual.md
index 1ed5c8da..aa3d7013 100644
--- a/doc/manual.md
+++ b/doc/manual.md
@@ -2277,6 +2277,11 @@ Simply copying the contents of your *~/.textadept/properties.lua* into
Lexers are now written in a more object-oriented way. Legacy lexers are still
supported, but it is recommended that you [migrate them][].
+#### Key Bindings Changes
+
+The terminal version's key sequence for `Ctrl+Space` is now `'c '` instead of
+`'c@'`.
+
[migrate them]: api.html#lexer.Migrating.Legacy.Lexers
### Textadept 8 to 9
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 12a8f3b0..066ba335 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -247,7 +247,7 @@ module('textadept.keys')]]
-- Key bindings available depend on your implementation of curses.
--
-- For ncurses (Linux, Mac OSX, BSD):
--- * The only Control keys recognized are 'ca'-'cz', 'c@', 'c\\', 'c]', 'c^',
+-- * The only Control keys recognized are 'ca'-'cz', 'c ', 'c\\', 'c]', 'c^',
-- and 'c_'.
-- * Control+Shift and Control+Meta+Shift keys are not recognized.
-- * Modifiers for function keys F1-F12 are not recognized.
@@ -403,8 +403,7 @@ keys['\t'] = textadept.snippets._insert
keys['s\t'] = textadept.snippets._previous
keys.esc = textadept.snippets._cancel_current
-- Other.
-keys[not OSX and ((GUI or WIN32) and 'c ' or 'c@')
- or 'aesc'] = m_tools[_L['_Complete Symbol']][2]
+keys[not OSX and 'c ' or 'aesc'] = m_tools[_L['_Complete Symbol']][2]
keys[GUI and 'ch' or 'mh'] = textadept.editing.show_documentation
if CURSES then keys.mH = keys.mh end -- mh is used by some GUI terminals
keys[not OSX and (GUI and 'ci' or 'mI') or 'mi'] = m_tools[_L['Show St_yle']][2]
diff --git a/src/Makefile b/src/Makefile
index 9c4416ae..383a36f1 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -427,7 +427,7 @@ luajit_tgz = LuaJIT-2.0.3.tar.gz
libluajit_tgz = libluajit_2.0.3.x86_64.tgz
gtdialog_zip = gtdialog_1.4.zip
cdk_tgz = cdk-5.0-20150928.tgz
-termkey_tgz = libtermkey-0.17.tar.gz
+termkey_tgz = libtermkey-0.20.tar.gz
win32gtk_zip = gtk+-bundle_2.24.10-20120208_win32.zip
win32iconv_bin_zip = libiconv-bin-zip.php
win32iconv_lib_zip = libiconv-lib-zip.php