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

Add RGB API support #225

Merged
merged 2 commits into from
Oct 3, 2024
Merged

Add RGB API support #225

merged 2 commits into from
Oct 3, 2024

Conversation

fatih
Copy link
Owner

@fatih fatih commented Mar 24, 2024

This PR adds support for a new RGB API to allow to print 24-bit colors. Opening for feedback, and will probably merge it as it is. If anyone wants to try it out, check the TestRGB test case or the newly added README.md docs.

ss-2024-03-24-113149

Copy link

@Integralist Integralist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great thanks 👍

Copy link
Contributor

@bschaatsbergen bschaatsbergen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple nitpicks on the comments but, LGTM 🚀
API seems straightforward and easy to use. It's a great addition to the existing supported ANSI color palette.

Thanks for picking this up 👍🏼

color.go Outdated Show resolved Hide resolved
color.go Outdated Show resolved Hide resolved
color.go Outdated Show resolved Hide resolved
color.go Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@fatih
Copy link
Owner Author

fatih commented Mar 30, 2024

Thanks for to the reviews. I want to keep this open for some time to try it out before I merge it.

@artificial-aidan
Copy link

Another vote of confidence. Worked great

@bschaatsbergen
Copy link
Contributor

Hey @fatih, did you have a chance to take a look at this PR?

@fatih
Copy link
Owner Author

fatih commented Oct 3, 2024

@bschaatsbergen yeap, I'll merge this soon. Hadn't time go over it.

fatih and others added 2 commits October 3, 2024 10:00
Signed-off-by: Fatih Arslan <ftharsln@gmail.com>
Co-authored-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
@fatih fatih merged commit 546c2d0 into main Oct 3, 2024
1 check passed
@fatih fatih deleted the add-rgb-api branch October 3, 2024 07:03
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.

4 participants