Explorar el Código

Add key repeat and enable debugging for DebugProfile on macOS

Brett Morgan hace 1 año
padre
commit
6adab96fe2
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. 2 0
      example/macos/Runner/DebugProfile.entitlements
  2. 1 1
      lib/src/terminal_view.dart

+ 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;
     }