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

#186 Allow rendering more complex sgrs #188

Merged
merged 1 commit into from
Jun 2, 2020

Conversation

tszmytka
Copy link
Collaborator

@tszmytka tszmytka commented Jun 2, 2020

This is a fix for #186

The initial changes in #176 assumed that 256 color SGRs would always begin with 38;5, like :

esc[38;5;<index>m

Turns out it is possible for them to have attribute(s) before them as well, like:

esc[1;38;5;<index>m

… bold) preceeding 256 color sgrs. Ensure that similar but invalid sequences won't trigger exceptions.
@dblock dblock merged commit da40d6a into jenkinsci:master Jun 2, 2020
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

Successfully merging this pull request may close these issues.

2 participants