Git Product home page Git Product logo

Comments (6)

amriteya avatar amriteya commented on August 14, 2024

This pertains to a known issue in Microsoft command line. Post version 10.0.14393, Microsoft cmd line does not support ANSI colors in cmd.exe.
Following is an issue raised under Microsoft's repo: ANSI colors no longer render in cmd.exe

However, this issue can be solved by using a third party executable which enables ANSI color rendering in cmd.exe. ANSICON allows Windows command line to render ANSI color encodings.

As a quick fix, user can execute ansicon by downloading the executable from their Downloads page and follow the documentation .

Steps to use ANSICON:

  • Download and unzip file from Downloads page
  • Open cmd and navigate to the unzipped folder.
  • Navigate to x64(if you've a 64 bit machine) otherwise navigate to x86.
  • Execute ansicon.exe -i to install ANSICON.
  • Run butterfly in verbose mode to see the changes in logging messages.

Attaching screenshot of results

BEFORE executing ANSICON
image

AFTER executing ANSICON
image

from butterfly.

amriteya avatar amriteya commented on August 14, 2024

@fabiocarvalho777 It'd be interesting to find out the challenges behind incorporating a third-party executable in butterfly.cmd.

from butterfly.

fabiocarvalho777 avatar fabiocarvalho777 commented on August 14, 2024

@amriteya good findings, thanks!!

It'd be interesting to find out the challenges behind incorporating a third-party executable in butterfly.cmd.

Agree. Are you going to do it as part of this issue? I would say it is up to you, as long as it doesn't take too much time, and as long as it is not too complex. We have bigger fishes to fry :)

from butterfly.

amriteya avatar amriteya commented on August 14, 2024

Let me take a stab at this. If it's okay to use this third-party executable, it should not be a lot of changes.
Just some changes in the windows script.

from butterfly.

fabiocarvalho777 avatar fabiocarvalho777 commented on August 14, 2024

Sounds good

from butterfly.

fabiocarvalho777 avatar fabiocarvalho777 commented on August 14, 2024

After talking to @amriteya , we have decided to just document this issue in end user documentation.

from butterfly.

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.