@iap Packages
    Preparing search index...

    Interface StructuredStyle

    结构化样式配置 同时适用于 Node(ANSI escape)和浏览器(CSS %c)两种输出端

    interface StructuredStyle {
        bg?: string;
        bold?: boolean;
        color?: string;
        italic?: boolean;
        underline?: boolean;
    }
    bg?: string

    背景色;格式与 color 相同

    bold?: boolean

    是否加粗

    color?: string

    前景色;接受命名颜色('red')或 6 位十六进制('#2196F3')

    italic?: boolean

    是否斜体

    underline?: boolean

    是否加下划线