Skip to content

Text is white when blink is used #105

@vanboom

Description

@vanboom

It seems the blink method is not selecting the primary color...

"TEST".red

"\e[1;31mTEST\e[0m"

31 correctly produces red text.

However...

"TEST".red.blink

"\e[5;39;49mTEST\e[0m"
5: Enables blinking text (if supported by the terminal).
39: Sets the text color to the default foreground color (usually white or light gray).
49: Sets the background color to the default background color (usually black).

The "red" foreground color is not applied...

Expected behavior:

"TEST".red.blink

"\e[5;31;49mTEST\e[0m"

i.e. 31 = red should be the selected foreground color.

Thank you!

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