Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
API Reference
Hotkeys API Reference
Hotkey Sequence API Reference
Key hold & held keys API Reference
Hotkey Recorder API Reference
Hotkey Sequence Recorder API Reference
Normalization & format API Reference
Normalization & format API Reference

KEY_DISPLAY_SYMBOLS

Variable: KEY_DISPLAY_SYMBOLS

ts
const KEY_DISPLAY_SYMBOLS: object;

Defined in: constants.ts:592

Special key symbols for display formatting.

Maps certain keys to their visual symbols for better readability in hotkey displays. Used by formatting functions to show symbols like ↑ for ArrowUp or ↵ for Enter instead of text labels.

Type Declaration

ArrowDown

ts
readonly ArrowDown: "↓" = '↓';

ArrowLeft

ts
readonly ArrowLeft: "←" = '←';

ArrowRight

ts
readonly ArrowRight: "→" = '→';

ArrowUp

ts
readonly ArrowUp: "↑" = '↑';

Backspace

ts
readonly Backspace: "⌫" = '⌫';

Delete

ts
readonly Delete: "⌦" = '⌦';

Enter

ts
readonly Enter: "↵" = '↵';

Escape

ts
readonly Escape: "Esc" = 'Esc';

Space

ts
readonly Space: "␣" = '␣';

Tab

ts
readonly Tab: "⇥" = '⇥';

Example

ts
KEY_DISPLAY_SYMBOLS['ArrowUp'] // '↑'
KEY_DISPLAY_SYMBOLS['Enter'] // '↵'
KEY_DISPLAY_SYMBOLS['Escape'] // 'Esc'
KEY_DISPLAY_SYMBOLS['Space'] // '␣'