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

Document and/or Provide Alternatives for SGR Across Vector Elements #72

Closed
brodieG opened this issue Jun 2, 2021 · 0 comments
Closed

Comments

@brodieG
Copy link
Owner

brodieG commented Jun 2, 2021

Implicitly, in:

x <- c('\033[31mhello', 'world')

fansi assumes that "world" is also to be colored red, i.e. as would happen with writeLines(x). So style carries through. This should probably be clearly documented, along with providing an option for treating each CHARSXP as if it were in its own insulate universe.

@brodieG brodieG added this to the 0.5.1 milestone Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant