Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/jqPublic
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Make object key color configurable (close #1739, #1791, #2638)#2703

Merged
nicowilliams merged 1 commit intojqlang:masterfromitchyny:jq-color-object-key
Jul 18, 2023

Conversation

itchyny
Copy link
Contributor

This PRresolves#1739 by allowing user to configure object key at the 8th element ofJQ_COLORS. The patch is based on the#1791 and#2638, and my comment#1791 (comment). Also I optimized colors lookup by using enum to int conversion (already used for type comparison).Closes#1791 andcloses#2638.

DavidBiesack and roshal reacted with thumbs up emoji
@itchynyitchyny added this to the1.7 release milestoneJul 12, 2023
@itchynyitchynyforce-pushed thejq-color-object-key branch 3 times, most recently froma3e8a10 to951e04eCompareJuly 12, 2023 23:37
…qlang#2638)Co-authored-by: David Haguenauer <ml@kurokatta.org>Co-authored-by: Eric Pruitt <eric.pruitt@gmail.com>
Copy link
Member

@emanuele6emanuele6 left a comment

Choose a reason for hiding this comment

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

LGTM!

@nicowilliamsnicowilliams merged commit0b558f6 intojqlang:masterJul 18, 2023
@nicowilliams
Copy link
Contributor

Thanks!

haguenau reacted with thumbs up emoji

@itchyny
Copy link
ContributorAuthor

Thank you!

@roshal
Copy link

finally awesome

JQ_COLORS=36:31:32:33:97:90:90:00

image

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@emanuele6emanuele6emanuele6 approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
1.7 release
Development

Successfully merging this pull request may close these issues.

Can't specify FIELD_COLOR in JQ_COLORS env var
4 participants
@itchyny@nicowilliams@roshal@emanuele6

[8]ページ先頭

©2009-2025 Movatter.jp