Skip to content

Inverse Closes colors #33

@bayleedev

Description

@bayleedev
puts ANSI.yellow{ "Foo" + ANSI.invert{ "∙∙∙" } + "bar" }

You can see the bar at the end isn't yellow, but you'd expect it to be. I'm using invert to make whitespace visible in a text based game.

The actual output is:

"\e[33mFoo\e[7m∙∙∙\e[0mbar\e[0m"

Expected:

- "\e[33mFoo\e[7m∙∙∙\e[0mbar\e[0m"
+ "\e[33mFoo\e[7m∙∙∙\e[27mbar\e[0m"

05_27_15 at 12 30 22pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions