Git Product home page Git Product logo

Comments (6)

spenserblack avatar spenserblack commented on May 29, 2024 1

IMO this issue should remain open for now. Should it be pinned?

from onefetch.

spenserblack avatar spenserblack commented on May 29, 2024

The results you're seeing in the Windows terminal is most likely because that terminal instance doesn't support truecolor. Or, perhaps more accurately, our tools don't think your terminal supports truecolor. When the language bar can't display the exact color, we fall back to the simple colors. See #585 for context. So I see two possible solutions

  1. Get better at detecting if the terminal supports true color (bug fix, possibly upstream)
  2. Pick better colors when the terminal doesn't support true color (feature request) I think we've discussed this before, and decided that we need to cycle arbitrary colors to distinguish languages that would have the same simple color

from onefetch.

spenserblack avatar spenserblack commented on May 29, 2024

As a current workaround, try onefetch --true-color always and let us know if it looks good 🙂

from onefetch.

lomirus avatar lomirus commented on May 29, 2024

QQ截图20231103104514

Windows terminal supports true color. It seems to be a detecting problem.

from onefetch.

o2sh avatar o2sh commented on May 29, 2024

You're correct @lomirus 👍

We're discussing the problem over here 👉 #1200

from onefetch.

o2sh avatar o2sh commented on May 29, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

from onefetch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.