From 2f89aa84ea88cb4fc8708b4009d175b97fa0495e Mon Sep 17 00:00:00 2001 From: Junya Morioka Date: Sat, 11 Apr 2026 02:12:09 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9C=AA=E5=AE=9A=E7=BE=A9=E3=81=AECtrl?= =?UTF-8?q?+=E3=82=AD=E3=83=BC=E3=81=AE=E7=B5=84=E3=81=BF=E5=90=88?= =?UTF-8?q?=E3=82=8F=E3=81=9B=E3=82=92IME=E3=81=A7=E5=87=A6=E7=90=86?= =?UTF-8?q?=E3=81=97=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB=E3=81=99?= =?UTF-8?q?=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ctrl+`など、IMEで明示的に処理していないCtrl+キーの組み合わせが 全角文字として入力されてしまう問題を修正。 --- Core/Sources/Core/InputUtils/Actions/UserAction.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Core/Sources/Core/InputUtils/Actions/UserAction.swift b/Core/Sources/Core/InputUtils/Actions/UserAction.swift index 1b6a24e3..93b6f090 100644 --- a/Core/Sources/Core/InputUtils/Actions/UserAction.swift +++ b/Core/Sources/Core/InputUtils/Actions/UserAction.swift @@ -156,6 +156,9 @@ public enum UserAction { return .suggest case ("u", [.control, .shift]): // Shift + Control + u return .startUnicodeInput + case (_, let modifierFlags) where modifierFlags.contains(.control): + // Controlが押されているが、上記のどのショートカットにも当てはまらない場合は、未知のアクションとして扱う + return .unknown case ("¥", [.shift, .option]), ("¥", [.shift]), ("\\", [.shift, .option]), ("\\", [.shift]): return .input(keyMap("|"))