Merge pull request #348 from macvim-dev/fix/macmeta

Fix macmeta for Greek layout
This commit is contained in:
Kazuki Sakamoto
2016-09-13 19:01:50 -07:00
committed by GitHub
+1 -2
View File
@@ -159,8 +159,7 @@ KeyboardInputSourcesEqual(TISInputSourceRef a, TISInputSourceRef b)
// Note that this implies that 'mmta' (if enabled) breaks input methods
// when the Alt key is held.
if ((flags & NSAlternateKeyMask) && [mmta boolValue] && [unmod length] == 1
&& [unmod characterAtIndex:0] > 0x20
&& [unmod characterAtIndex:0] < 0x7f) {
&& [unmod characterAtIndex:0] > 0x20) {
ASLogDebug(@"MACMETA key, don't interpret it");
string = unmod;
} else if (imState && (flags & NSControlKeyMask)