Coder Social home page Coder Social logo

Comments (5)

grafikrobot avatar grafikrobot commented on May 12, 2024 4

The original Clara code for that embedded, yet another, external library. I removed that dependency to facilitate portability. One key issue with bringing nicer formatting back as it was in Clara is that it's language dependent. And one of my eventual goals is to support localization. Which then would be rather hard to accomplish with such formatting (mainly because of non-LTR languages). Additionally that Clara external lib was very limited in that it did not support variable width of terminals.

I'll see if I can find an existing library that can do the formatting that can be used optionally.

from lyra.

grafikrobot avatar grafikrobot commented on May 12, 2024 1

@mattgodbolt I definitely welcome any form of help :-) I'll ping you on Slack about it.

from lyra.

lifelike avatar lifelike commented on May 12, 2024 1

I think just removing the double-newlines goes a long way to make it look much better. Not sure what having all the blank lines does for supporting rtl languages? The more standard layout seen in the Clara example above is even better, but if that will require a long time to fix, maybe just remove the blank lines meanwhile?

from lyra.

gegles avatar gegles commented on May 12, 2024

Same concern here, how can we get the nicer/more compact format?

from lyra.

mattgodbolt avatar mattgodbolt commented on May 12, 2024

Thanks @grafikrobot . If you need a hand, let me know. I'd gladly step in as we're using this library at work. I was thinking of looking into it but didn't know about the requirements :)

from lyra.

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.