chore: generate

This commit is contained in:
GitHub Action
2026-01-20 13:34:20 +00:00
parent d77cbf9c46
commit 47fa496701
7 changed files with 53 additions and 135 deletions

View File

@@ -142,8 +142,7 @@ export function formatKeybind(config: string): string {
space: "Space",
}
const key = kb.key.toLowerCase()
const displayKey =
keys[key] ?? (key.length === 1 ? key.toUpperCase() : key.charAt(0).toUpperCase() + key.slice(1))
const displayKey = keys[key] ?? (key.length === 1 ? key.toUpperCase() : key.charAt(0).toUpperCase() + key.slice(1))
parts.push(displayKey)
}