Ver Fonte

Add key repeat and enable debugging for DebugProfile on macOS

Brett Morgan há 1 ano atrás
pai
commit
6adab96fe2

+ 2 - 0
example/macos/Runner/DebugProfile.entitlements

@@ -4,5 +4,7 @@
 <dict>
 	<key>com.apple.security.cs.allow-jit</key>
 	<true/>
+	<key>com.apple.security.network.server</key>
+	<true/>
 </dict>
 </plist>

+ 1 - 1
lib/src/terminal_view.dart

@@ -406,7 +406,7 @@ class TerminalViewState extends State<TerminalView> {
       return shortcutResult;
     }
 
-    if (event is! KeyDownEvent) {
+    if (event is KeyUpEvent) {
       return KeyEventResult.ignored;
     }