Fix mic key symbol

This commit is contained in:
1024jp 2023-03-18 10:13:11 +09:00
parent 98852b6aaa
commit aeef41ad61
2 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,11 @@ Change Log
- Scroll the editor to make the remaining cursor visible when cancelling the multi-cursor editing mode.
### Fixes
- [trivial] Fix the shortcut key display for the mic key in the Key Bindings pane.
4.5.0 (558)
--------------------------

View File

@ -300,6 +300,7 @@ struct Shortcut {
.f19: "F19",
.help: "Help",
.space: String(localized: "Space", comment: "keyboard key name"),
.mic: "🎤︎", // U+1F3A4, U+FE0E
].mapKeys(\.unicodeScalar)
}
@ -308,6 +309,7 @@ private extension NSEvent.SpecialKey {
static let space = Self(rawValue: 0x20)
static let escape = Self(rawValue: 0x1b)
static let mic = Self(rawValue: 0x1f3a4)
}