Comments (7)
Seems like the best way to handle this is to allow a DuckPAN flag that forces Date::Printer to not use colours.
https://metacpan.org/module/Data::Printer#COLORS-AND-COLORIZATION
from p5-app-duckpan.
@dariog88a a slightly different fix has been implemented -- now you can force the output to not use colors by entering this on your command line:
duckpan env DP_NOCOLOR 1
from p5-app-duckpan.
@moollaza I updated DuckPAN and set the env variable, but it is still using colors.
from p5-app-duckpan.
@dariog88a whoops! I forgot to push out the updates. Sorry! It should work now :)
from p5-app-duckpan.
@moollaza It works but I had to use cpanm App::DuckPAN --force because some tests failed.
from p5-app-duckpan.
@dariog88a very sorry about that -- tests weren't failing for me but another user confirmed there were problems with the latest DuckPAN release. I've reverted the changes and have released. Once the problem is sorted out the fix for removing colour will be, re-release. Apologies for all the problems -- things usually run a lot smoother :)
from p5-app-duckpan.
@moollaza No problem but I think the issue should be reopened.
from p5-app-duckpan.
Related Issues (20)
- Incorrect detection of Instant Answer files
- Cheat Sheets not displaying on DuckPAN Server HOT 2
- Cannot install DuckPAN: Failed to install dep Class-Accessor-Classy HOT 4
- DuckPAN should warn about, or not follow redirects for API calls (to mimic our NGINX)
- Replace use of File::ShareDir::ProjectDistDir HOT 1
- Usage of Moose HOT 4
- Move templates into DuckPAN HOT 1
- Allow updating metadata through DuckPAN HOT 4
- Mimic caching on query and server
- Underscores in new cheat sheets HOT 2
- Cheat sheet template wizard should use hyphens HOT 1
- IA wizard error message should say what characters are valid
- Installing DuckPAN fails at DDG-1006 (OSX perl v5.24.0) HOT 4
- Fathead support: Non-matching queries return last match HOT 2
- Add Related Topics to FatHead server
- "duckpan new --template cheatsheet" should use dashes for filename, not underscores HOT 3
- Add support for FatHead Categories
- IA's are untestable until PR is made HOT 9
- problem first time running duckpan server on fathead on Codio HOT 3
- Test a new goodie 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 p5-app-duckpan.