Polyman Documentation - v3.1.0
    Preparing search index...
    • The inline approval box: title, the command or a short diff preview, and the options. Arrow keys or number keys choose, option 3 asks for a reason.

      Parameters

      • __namedParameters: {
            approval: ApprovalView;
            resolveApproval: (approvalId: string, decision: ApprovalDecision) => void;
            onCancel?: () => void;
            isActive?: boolean;
            maxPreviewLines?: number;
        }
        • approval: ApprovalView
        • resolveApproval: (approvalId: string, decision: ApprovalDecision) => void
        • OptionalonCancel?: () => void

          esc on the options: interrupt the turn.

        • OptionalisActive?: boolean
        • OptionalmaxPreviewLines?: number

          Most preview lines, less than 12 when the terminal is short.

      Returns Element