Skip to content

When precompiling without a terminal support reset crayon string is blank #246

@ktdq

Description

@ktdq

const _reset_crayon_str = string(_reset_crayon) is evaluated during precompilation of the package. But when there's no terminal support it becomes an empty string. When loaded afterwards with a proper terminal it fails to draw things correctly.

Need to ensure that the initialization of _reset_crayon_str occurs at runtime rather than at compile time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions