SessionCtl // Don't handle isSingleCommandBasedLetterHotKey.

This commit is contained in:
ShikiSuen 2023-07-03 21:29:08 +08:00
parent fc7147238e
commit 1205ed7ed4
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ public extension SessionCtl {
private func handleKeyDown(event: NSEvent) -> Bool {
// MARK:
// .command 簿
if state.type == .ofEmpty, event.isSingleCommandBasedLetterHotKey { return false }
// deactivated empty()
if state.type == .ofDeactivated {
state = IMEState.ofEmpty()