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

feat: add missing terminal styles #162

Merged
merged 1 commit into from
Nov 9, 2024

Conversation

innocenzi
Copy link
Contributor

@innocenzi innocenzi commented Nov 8, 2024

This pull request adds some missing styles. I specifically needed dim when working on Tempest's console.

This is a draft because currently, the NO_* cases conflict. For instance, the code to stop bold text and stop dim text is the same: 22m. But a feature of string-backed enums is that they can't have the same value multiple times... not sure what to do here.

EDIT: I sorted it out by sharing the code as RESET_INTENSITY

@innocenzi innocenzi marked this pull request as ready for review November 8, 2024 19:50
@brendt brendt merged commit 099967d into tempestphp:main Nov 9, 2024
4 checks passed
@brendt
Copy link
Member

brendt commented Nov 9, 2024

@innocenzi innocenzi deleted the feat/more-styles branch November 9, 2024 11:48
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