Pilates
    Preparing search index...

    Function usePaste

    • Subscribe to bracketed-paste payloads. The handler receives the entire pasted text in one call (newlines and control bytes preserved), never as a flood of keystroke events through useInput. Activating this hook also engages raw mode, so a paste-only app works without an additional useInput call.

      Parameters

      • handler: (text: string) => void

      Returns void