Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vinnydiehl opened this issue Jul 19, 2023 · 0 comments

Comments

@vinnydiehl
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant