Coder Social home page Coder Social logo

Colorless, narrower output about padpo HOT 6 CLOSED

JulienPalard avatar JulienPalard commented on August 19, 2024
Colorless, narrower output

from padpo.

Comments (6)

vpoulailleau avatar vpoulailleau commented on August 19, 2024 1

Bonus: By sticking to gcc error format we could easily use padpo in vim/emacs :]

You convinced me! πŸ˜‰

I think that I'll add a CLI flag to enable this, because the color allows to see rapidly the errors (skipping the warnings first). So I prefer to also keep this functionality.

from padpo.

JulienPalard avatar JulienPalard commented on August 19, 2024 1

I think that I'll add a CLI flag to enable this, because the color allows to see rapidly the errors (skipping the warnings first). So I prefer to also keep this functionality.

I'd say do as most CLI programs: a --color flag to opt-in, not a --no-color flag to opt out, but I'm not sure to be able to convince you twice on this one :]]

Also while I'm at it, I feel that foreground color is more readable than background color, at least on my color scheme, but I'm not sure to be able to convince you three times on this one :]]]

Also while I'm at it, I'd color only the "warning" / "error" string not the whole string, but I'm not sure to be able to convice you 4 times on this one :]]]]

from padpo.

Seluj78 avatar Seluj78 commented on August 19, 2024

I agree with Julien,
I'd prefer to color the text instead of the background. As for what to color, idc

from padpo.

vpoulailleau avatar vpoulailleau commented on August 19, 2024

@JulienPalard @Seluj78 For the readability issues, I'm using the default colors of http://github.com/vpoulailleau/simplelogging but changing those coloring choices is on my pretty old TODOΒ list πŸ˜‰

You almost made a strike there, at least a spare! The last point for which I'm not totally convinced yet is opt-in/opt-out for color. But I don't have the time to code right now, we'll see the decision later πŸ˜‰ But "I'd say do as most CLI programs" is quite a valid argument πŸ˜›

from padpo.

Seluj78 avatar Seluj78 commented on August 19, 2024

I prefer the opt out for colors even if it isnt standard

from padpo.

deronnax avatar deronnax commented on August 19, 2024

+1 : general background color makes it unreadable. An outpout like grep would perfect (normal, with important parts in red)
Also the sharps as delimiters are not a good idea :).

from padpo.

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.