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

'read_esc' will improperly interpret non SGR CSI as CSI under some circumstances #57

Closed
brodieG opened this issue Sep 1, 2018 · 0 comments
Closed
Labels
Milestone

Comments

@brodieG
Copy link
Owner

@brodieG brodieG commented Sep 1, 2018

Using sgr_to_html to highlight that it is getting interpreted:

> fansi::sgr_to_html("\033[31;20xhello\033[m")
[1] "<span style='color: #BB0000;'>hello</span>"
Warning message:
In fansi::sgr_to_html("\033[31;20xhello\033[m") :
  Encountered a non-SGR CSI sequence, see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings.
> fansi::sgr_to_html("\033[31xhello\033[m")
[1] "hello"
Warning message:
In fansi::sgr_to_html("\033[31xhello\033[m") :
  Encountered a non-SGR CSI sequence, see `?unhandled_ctl`; you can use `warn=FALSE` to turn off these warnings.
@brodieG brodieG added the bug label Sep 1, 2018
@brodieG brodieG added this to the 0.3.1 milestone Sep 1, 2018
@brodieG brodieG closed this in 52d52e6 Oct 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.