mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-19 16:16:45 +00:00
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:
@@ -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