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

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

Open
tadeohepperle opened this issue Jan 19, 2024 · 2 comments
Open

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

tadeohepperle opened this issue Jan 19, 2024 · 2 comments

Comments

@tadeohepperle
Copy link
Contributor

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.

@niklasad1
Copy link
Member

@jsdw can you try the owo_colors crate and see whether we can open an issue in owo_colors if it's mac issue?

I looked briefly in the issue tracker and couldn't find any mac specific issue there

@jsdw
Copy link
Collaborator

jsdw commented Mar 21, 2024

Note: to reproduce this:

  1. Might only be an issue on a mac
  2. Run a polkadot dev node in a terminal: polkadot --dev
  3. In another terminal, and in the subxt repo root, run cargo run --bin subxt -- explore pallet balances calls transfer_allow_death.

Does the colour output seem weird as in the above (turns grey)?

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

No branches or pull requests

3 participants