Comments (6)
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 tox86
. - Execute
ansicon.exe -i
to install ANSICON. - Run butterfly in verbose mode to see the changes in logging messages.
Attaching screenshot of results
from butterfly.
@fabiocarvalho777 It'd be interesting to find out the challenges behind incorporating a third-party executable in butterfly.cmd.
from butterfly.
@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.
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.
Sounds good
from butterfly.
After talking to @amriteya , we have decided to just document this issue in end user documentation.
from butterfly.
Related Issues (20)
- In some edge cases, log of exception stack trace is emitted by JavaParser which is used by Butterfly JavaMatch HOT 1
- Question about extensions & roadmap HOT 3
- Butterfly should allow numbers in the extension property names HOT 15
- Butterfly CLI should allow escaped semicolons and equals as extension property value when passed using -p HOT 6
- Add support for extensions packaged as spring-boot uber jar HOT 5
- Guava library must be updated to version 24.1.1 (or later) due to security vulnerabilities HOT 1
- Update test case ButterflyFacadeImplTest HOT 3
- Upgrade libraries to latest version
- Add an operation to remove an exclusion from a Maven dependency
- Upgrade log4j to version 2.16.0 HOT 1
- Upgrade log4j to version 2.17.0
- Upgrade log4j to version 2.17.1
- Upgrade zip4j library from 2.8.0 to 2.9.1 HOT 1
- FindFiles files has a bug introduced in #375 HOT 1
- Upgrade dependencies to latest version HOT 1
- Upgrade dependencies to latest version HOT 1
- Fix Temporary File Information Disclosure Vulnerability
- Update woodstox and zip4j to fix security vulnerabilities HOT 1
- Include condition to check if POM XML has specific profile HOT 1
- Upgrading Spring, Spring Boot and other select libraries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from butterfly.