github charmbracelet/lipgloss v0.5.0

latest releases: v0.10.0, v0.9.1, v0.9.0...
2 years ago

Laziness

Happy Valentines Day! Have you ever noticed that programming is the one field where laziness is totally awesome?

The big news in this release is that Lip Gloss will now wait until absolutely necessary to query for the terminal's background color. This was formerly a fairly heavy hit on the system, however it's been optimized to the point where we can now run it on demand. This, and some other major performance benefits, come from some acute improvements upstream in Termenv. For the low level details check out the release notes for the mighty Termenv v0.10.0 and v0.11.0 releases.

New

  • Styles now have a Value() method for getting the underlying string value set with SetString() (thanks @76creates) #66

Improved

  • Lazily detect the background color #61
  • Use termenv's EnvColorProfile, which respects NO_COLOR and CLICOLOR_FORCE env vars #64

Fixed

  • Fix JoinVertical behavior for non-edge non-center alignments (thanks @ryantriangles) #49

New Contributors

Full Changelog: v0.4.0...v0.5.0


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Slack.

Don't miss a new lipgloss release

NewReleases is sending notifications on new releases.