Skip to content

Some escape sequences are not properly applied when a string is colorized #101

@vinnydiehl

Description

@vinnydiehl

To reproduce:

require "colorize"
puts "test\r\e[Kx"
puts "test\r\e[Kx".red

Expected output:

x
x

Actual output:

x
[Kxt

This might be unfixable due to limitations of ANSI escape sequences; I have no idea.

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