paritytech / paritytech/subxt

CLI tool: ANSI colors cause output to be greyed out on Mac

Open
#1,382 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
489
Forks
293
Avg merge
18h 35m
Merged PRs (30d)
3

Description

In this PR @jsdw mentioned, that the colors are getting greyed out after certain blocks:

image

This is likely an issue with the interpretation of ANSI escape codes used by owo_colors. We could not reproduce it on non-mac machines. Should be investigated more.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the CLI output on macOS, using the behavior described in PR 1290 and focusing on the ANSI escape codes produced through owo_colors. Compare the output around the blocks where colors become greyed out. Done means the CLI colors remain correct on Mac without regressing behavior on other platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.