Coder Social home page Coder Social logo

painter's People

Contributors

fgimian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

painter's Issues

Incomplete color stripping

I was playing with the CLI and noticed some colors by ls on my system were not stripped.

$ ls -1 --color | cat -v
^[[0m^[[00;38;5;244mLICENSE^[[0m
^[[00;38;5;244m^[[m^[[01;38;5;245mREADME.md^[[0m
^[[00;38;5;244m^[[m^[[00;38;5;33mimages^[[0m
^[[00;38;5;244m^[[m^[[00;38;5;33mpainter^[[0m
^[[00;38;5;244m^[[m^[[01;38;5;245msetup.cfg^[[0m
^[[00;38;5;244msetup.py^[[0m
^[[00;38;5;244mtest.py^[[0m
^[[00;38;5;244m^[[m^[[00;38;5;33mtests^[[0m
$ ls -1 --color | PYTHONPATH=. python3 -m painter.strip_color_cli | cat -v
^[[00;38;5;244mLICENSE
^[[00;38;5;244m^[[01;38;5;245mREADME.md
^[[00;38;5;244mimages
^[[00;38;5;244mpainter
^[[00;38;5;244m^[[01;38;5;245msetup.cfg
^[[00;38;5;244msetup.py
^[[00;38;5;244mtest.py
^[[00;38;5;244mtests

The escape code in question is ones like ^[[00;38;5;244m, ones with 3 digits. From the look of source code of Painter, it shouldn't be hard to fix/cover this, {1,2} to {1,3} should do, but I am not sure if there would be another form of escape code.

Having problem with install

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

Do you know why this error while i try to install painter?

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.