SessionCtl // Do something with non-JIS keyboard on activation.

This commit is contained in:
ShikiSuen 2023-09-15 18:12:14 +08:00
parent 153572b826
commit 27ccac62d2
1 changed files with 10 additions and 0 deletions

View File

@ -322,6 +322,16 @@ public extension SessionCtl {
Self.theShiftKeyDetector.toggleWithLShift = PrefMgr.shared.togglingAlphanumericalModeWithLShift
Self.theShiftKeyDetector.toggleWithRShift = PrefMgr.shared.togglingAlphanumericalModeWithRShift
if isASCIIMode, !IMEApp.isKeyboardJIS {
if #available(macOS 10.15, *) {
if !Self.theShiftKeyDetector.enabled {
isASCIIMode = false
}
} else {
isASCIIMode = false
}
}
DispatchQueue.main.async {
AppDelegate.shared.checkUpdate(forced: false)
AppDelegate.shared.checkMemoryUsage()