add -x flag for hexadecimal output#1
Open
shmibs wants to merge 3 commits intodjpohly:masterfrom
shmibs:master
Open
add -x flag for hexadecimal output#1shmibs wants to merge 3 commits intodjpohly:masterfrom shmibs:master
shmibs wants to merge 3 commits intodjpohly:masterfrom
shmibs:master
Conversation
added 3 commits
February 25, 2018 17:09
prints a hex colour code in the typical #RRGGBB form
Owner
|
Thanks for the pull request! Is there an advantage to doing it in the stint code rather than, say: The reason I chose decimal output was to make that easy to do. :) |
Author
|
i guess only that it seems a common use-case, and not everyone knows how or thinks to do things like that, judging by a quick search and this thread |
Author
|
...and, as xoris has since been removed from the AUR and grabc (like you'd mentioned in that thread) doesn't actually work consistently, using stint is the easy option that's left to people |
|
I'd second that. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
prints a hex colour code in the typical #RRGGBB form
does not change default behaviour (running without flags returns in integer form), so existing usage should not break