Skip to content

Conversation

@jacklul
Copy link
Contributor

@jacklul jacklul commented Feb 26, 2025

This PR adds support for handling multiple sequences of ansi codes - preserving the styling until reset code is found.

This addresses #17

Current:

sequences current

With this PR:

sequences pr

Like in my other PR, PHPUnit passes once the test class is fixed.

TODO:

ANSI codes 22-29 should disable appropriate styling, currently it will not work because of in_array checks on 1-9, might need to remove values directly in tokenize or rewrite the styling code into something else
I have an idea how to approach this, will update on that soon
Done

@jacklul jacklul force-pushed the nested-styling branch 3 times, most recently from 3176332 to e2c01b6 Compare February 27, 2025 16:59
@fabpot
Copy link
Member

fabpot commented Mar 15, 2025

Thank you @jacklul.

@fabpot fabpot merged commit f9a7bea into sensiolabs:master Mar 15, 2025
1 check failed
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