fix(macos): let held keys repeat instead of opening the accent picker (#9572)
WKWebView shows the macOS accented-character popover when a key is held down, which suppresses key repeat entirely: holding a key in plugin terminal workbenches (e.g. the SSH plugin) registers nothing, and keys typed while the popover is up are swallowed, so fast typists lose characters. Terminals want key repeat, not diacritics entry. Setting ApplePressAndHoldEnabled to false in the bundle Info.plist restores normal key repeat inside the webview (same approach as iTerm2 and other terminal apps). macOS-only key; other platforms unaffected. Co-authored-by: jinpy.he <jinpy.he@kuehne-nagel.com>
This commit is contained in:
1 parent
74c275b2ce
commit
1f3beb11dc
1 file changed
+2
@@ -4,5 +4,7 @@
|
||||
<dict>
|
||||
<key>NSLocalNetworkUsageDescription</key>
|
||||
<string>DBX needs local network access to connect to database servers on your LAN.</string>
|
||||
<key>ApplePressAndHoldEnabled</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in new issue
Block a user