Git Product home page Git Product logo

Comments (6)

brandonfarber avatar brandonfarber commented on September 28, 2024 1

Just tested and it seems ok. I'll let you know if anything comes up, thanks!

from stripe-cli.

tomer-stripe avatar tomer-stripe commented on September 28, 2024

@brandonfarber sorry about that.

Could you try to run with --color off and see if that helps?

from stripe-cli.

ob-stripe avatar ob-stripe commented on September 28, 2024

Hi @brandonfarber, thanks for the report. Those weird characters are ANSI color codes, which unfortunately the Windows default console app does not support.

You can add the --color=off flag to disable the color codes. We also plan on adding support for setting this option permanently in your config file so you don't have to pass the flag every time.

Microsoft is also working on a new terminal app (https://github.com/microsoft/terminal) that should hopefully correctly handle ANSI color codes. You can also try using a third-party app like ConEmu or Cmder which should also correctly display colors.

(EDIT: oops, too slow! 😅)

from stripe-cli.

brandonfarber avatar brandonfarber commented on September 28, 2024

Thanks for the tip, I'll keep it in mind.

I don't know if you want to investigate ways to address automatically (maybe something along these lines: https://stackoverflow.com/questions/38044810/detect-ansi-compatible-console-from-windows-batch-file) or if the code is abstracted enough it's designed to be pretty much the same across all environments, but I figured I'd point out the issue. Feel free to close this since it's fairly minor, if the intention is to use the flag to switch off colors or wait on an updated console to be released.

from stripe-cli.

ob-stripe avatar ob-stripe commented on September 28, 2024

I think there may be things we can do to improve the experience on Windows here, so let's keep this open for now.

from stripe-cli.

ob-stripe avatar ob-stripe commented on September 28, 2024

Hey @brandonfarber, we just released v0.4.4. Colors should be displaying normally now (if you're using Windows 10 -- older Windows versions would still be affected).

Feel free to reply here or open a new issue if you notice anything amiss!

from stripe-cli.

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.