Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/continuedev/continue
/ capitalizeKey
Function
capitalizeKey
gui/src/components/gui/Shortcut.tsx:57–58 ·
view source on GitHub ↗
(key: string)
Source
from the content-addressed store, hash-verified
55
};
56
57
const capitalizeKey = (key: string) =>
58
key.charAt(0).toUpperCase() + key.slice(1).toLowerCase();
59
60
const isSingleCharNonModifier = (key: string) =>
61
key && key.length === 1 && /^[a-zA-Z0-9]$/.test(key);
Callers
1
parseShortcut
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected