Skip to content

v0.7.7

Compare
Choose a tag to compare
@meowgorithm meowgorithm released this 13 Apr 23:27
· 328 commits to master since this release

Hello, Lip Gloss

This release introduces Lip Gloss into the Spinner and Text Input components offering a greater range of styling options. Note that this introduces some minor API changes.

New

Text Input

  • Added textinput.Model.PromptStyle. Previously, styling the prompt was left as an exercise for the user.

Changed

Spinner

  • Model.ForegroundColor and Model.BackgroundColor is now simply Model.Style, a lipgloss.Style.

Text Input

  • Model.TextColor is now Model.TextStyle
  • Model.PlaceholderColor is now Model.PlaceholderStyle
  • Model.CursorColor is now Model.CursorStyle

All of these types are now lipgloss.Style.

Improved

  • Better rxvt-based terminal compatibility (courtesy Termenv)
  • Bumped bubbletea, termenv, reflow, go-runewidth and go-colorful dependencies

Fixed

  • Data race in data race rxvt-based terminals (courtesy Termenv)
  • Reset cursor in SetValue when initial position is 0 (thanks, @kiyonlin)

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

The Charm logo