From 1f3beb11dce32316b9458d15e83323ff78024e38 Mon Sep 17 00:00:00 2001 From: Jinpy Date: Sat, 19 Sep 2026 13:31:50 +0800 Subject: [PATCH] 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 --- src-tauri/Info.plist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src-tauri/Info.plist b/src-tauri/Info.plist index 5a03e62f2a..8d90ce9749 100644 --- a/src-tauri/Info.plist +++ b/src-tauri/Info.plist @@ -4,5 +4,7 @@ NSLocalNetworkUsageDescription DBX needs local network access to connect to database servers on your LAN. + ApplePressAndHoldEnabled +