mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-05-05 15:33:00 +00:00
macOS: add descriptions for PgUp, PgDown, End, and Home keys
These keys were not being assigned a description in the KeyboardShortcut extension. This caused problems for the macOS command pallete.
This commit is contained in:
parent
afd8d10b82
commit
f58fba54a0
@ -28,6 +28,10 @@ extension KeyboardShortcut: @retroactive CustomStringConvertible {
|
||||
case .downArrow: keyString = "↓"
|
||||
case .leftArrow: keyString = "←"
|
||||
case .rightArrow: keyString = "→"
|
||||
case .pageUp: keyString = "PgUp"
|
||||
case .pageDown: keyString = "PgDown"
|
||||
case .end: keyString = "End"
|
||||
case .home: keyString = "Home"
|
||||
default:
|
||||
keyString = String(key.character.uppercased())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user