Skip to content

@jsvision/ui / ClipboardKeys

Type Alias: ClipboardKeys

ClipboardKeys = "modern" | "classic" | "both" | "none"

Defined in: ui/src/event/default-keymap.ts:22

Which clipboard key set the framework binds by default.

  • 'modern' — Ctrl+A (select-all), Ctrl+C (copy), Ctrl+X (cut), Ctrl+V (paste).
  • 'classic' — the Turbo Vision chords Ctrl+Insert (copy), Shift+Insert (paste), Shift+Delete (cut). There is no classic select-all chord.
  • 'both' — the modern chords plus the classic chords as aliases (the default).
  • 'none' — no clipboard chords at all; supply your own keymap to bind them.