Giter Site home page Giter Site logo

Comments (4)

eproxus avatar eproxus commented on July 20, 2024

Here's some "debug" output of what color codes git-radar generates in the above case, but I can't really figure out what they represent:

$ print -r -- ${(qqqq)$(git-radar --zsh --fetch)}
$'%{\033[01;30m%}' $'git:(%{\033[00m%}%{\033[37m%}master%{\033[00m%}%{\033[01;30m%})%{\033[00m%}' $'3%{\033[01;31m%}M%{\033[00m%}' $'1%{\033[01;37m%}A%{\033[00m%}'

from git-radar.

michaeldfallen avatar michaeldfallen commented on July 20, 2024

It doesn't set background colours but it does presume that you don't. I use $reset_color to unset the foreground color but maybe it's also unsetting your background color? I'll have a look tonight and see if there's a reset foreground only option

from git-radar.

eproxus avatar eproxus commented on July 20, 2024

Yeah, that might be happening. Maybe there's a way to read the current color (both foreground and background) and then save it and reset to that? (I'm not very experienced with shell programming, so I have no idea if something like this exists).

from git-radar.

jalendport avatar jalendport commented on July 20, 2024

Any progress on this? I'm having the exact same problem.

from git-radar.

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.