@chromakit/core
    Preparing search index...

    Interface DividerOptions

    Config options for divider.

    interface DividerOptions {
        char?: string;
        color?: string;
        style?: (text: string) => string;
        width?: number;
    }
    Index

    Properties

    char?: string

    Single character used to draw the line.

    "-"

    If you pass a multi-code-unit string, it’s repeated as-is without accounting for terminal cell width; see divider caveats.

    color?: string

    Foreground color name or hex for the divider (applied to the entire line).

    Coloring is handled by colorText, which emits ANSI SGR sequences and appends a reset to avoid style bleed.

    style?: (text: string) => string

    Optional text transform (e.g., bold, dim).

    Applied before coloring so that color remains consistent across the final output.

    width?: number

    Total number of characters in the divider.

    40