MCPcopy Create free account
hub / github.com/continuedev/continue / getAltKeyLabel

Function getAltKeyLabel

gui/src/util/index.ts:40–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40export function getAltKeyLabel(): string {
41 const platform = getPlatform();
42 switch (platform) {
43 case "mac":
44 return "⌥";
45 default:
46 return "Alt";
47 }
48}
49
50export function getFontSize(): number {
51 return getLocalStorage("fontSize") ?? (isJetBrains() ? 15 : 14);

Callers 4

IsApplyingToolbarFunction · 0.90
PendingToolCallToolbarFunction · 0.90
StreamingToolbarFunction · 0.90
parseShortcutFunction · 0.90

Calls 1

getPlatformFunction · 0.70

Tested by

no test coverage detected