diff options
author | 2011-07-27 22:00:09 -0400 | |
---|---|---|
committer | 2011-07-27 22:00:09 -0400 | |
commit | 8dab48ba410551e434c4f68c621eccb4d4cfcb07 (patch) | |
tree | d59afa5d3a730a01760e17458c81740c9ffee309 /core/keys.lua | |
parent | 8aa962b71944332c61289551a81913d313ab5e04 (diff) | |
download | textadept-8dab48ba410551e434c4f68c621eccb4d4cfcb07.tar.gz textadept-8dab48ba410551e434c4f68c621eccb4d4cfcb07.zip |
Only allow meta key on Mac OSX; core/keys.lua
On Linux, AltGr is sometimes registered as GDK_MOD5_MASK which Mac OSX
identifies as meta.
Diffstat (limited to 'core/keys.lua')
-rw-r--r-- | core/keys.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/keys.lua b/core/keys.lua index 9bdc5e93..2ca83198 100644 --- a/core/keys.lua +++ b/core/keys.lua @@ -227,7 +227,7 @@ local function keypress(code, shift, control, alt, meta) end control = control and CTRL or '' alt = alt and ALT or '' - meta = meta and META or '' + meta = meta and OSX and META or '' shift = shift and SHIFT or '' local key_seq = control..alt..meta..shift..key --print(key_seq) |