Skip to content

Instantly share code, notes, and snippets.

@naan
Created February 12, 2012 20:33
Show Gist options
  • Save naan/1810743 to your computer and use it in GitHub Desktop.
Save naan/1810743 to your computer and use it in GitHub Desktop.
diff --git a/app/Classes/HiraganyController.m b/app/Classes/HiraganyController.m
index 141b3ea..fac3ca7 100644
--- a/app/Classes/HiraganyController.m
+++ b/app/Classes/HiraganyController.m
@@ -121,7 +121,10 @@
converter.katakana = YES;
}
}
-
+ if (flags & NSControlKeyMask) {
+ return NO;
+ }
+
if ([self appendString:string sender:sender])
return YES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment