Skip to content

Navigation Menu

Sign in
Appearance settings

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

Appearance settings

feat: coloring prefixes#587

Merged
gustavohenke merged 4 commits into
open-cli-tools:mainopen-cli-tools/concurrently:mainfrom
y-nk:julien/color-prefixy-nk/concurrently:julien/color-prefixCopy head branch name to clipboard
May 19, 2026
Merged

feat: coloring prefixes#587
gustavohenke merged 4 commits into
open-cli-tools:mainopen-cli-tools/concurrently:mainfrom
y-nk:julien/color-prefixy-nk/concurrently:julien/color-prefixCopy head branch name to clipboard

Conversation

@y-nk

@y-nk y-nk commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

This closing #583 as @gustavohenke seemed to be interested. I've added tests as well and updated the readme. let me know if you need anything.

EDIT: 2nd commit addresses loss in code coverage

@coveralls

coveralls commented Apr 20, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 98.85% (+0.03%) from 98.823% — y-nk:julien/color-prefix into open-cli-tools:main

Normalization always appends {/color} if missing, so reaching the
idx === -1 fallback implies inColorRegion is false. Replacing the
dead ternary with a plain concat restores 100% branch coverage.

@gustavohenke gustavohenke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you please also expand the docs under docs/cli/prefixing.md? 🙏

@y-nk

y-nk commented May 18, 2026

Copy link
Copy Markdown
Contributor Author

@gustavohenke done !

@y-nk
y-nk requested a review from gustavohenke May 18, 2026 06:17

@gustavohenke gustavohenke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great, thanks!

@gustavohenke
gustavohenke merged commit 0e50ac3 into open-cli-tools:main May 19, 2026
21 checks passed
@gustavohenke gustavohenke linked an issue May 19, 2026 that may be closed by this pull request
@y-nk

y-nk commented May 19, 2026

Copy link
Copy Markdown
Contributor Author

yay \o/

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.

prefix color manually

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.