v0.7.7
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
andModel.BackgroundColor
is now simplyModel.Style
, alipgloss.Style
.
Text Input
Model.TextColor
is nowModel.TextStyle
Model.PlaceholderColor
is nowModel.PlaceholderStyle
Model.CursorColor
is nowModel.CursorStyle
All of these types are now lipgloss.Style
.
Improved
- Better rxvt-based terminal compatibility (courtesy Termenv)
- Bumped
bubbletea
,termenv
,reflow
,go-runewidth
andgo-colorful
dependencies
Fixed
- Data race in data race rxvt-based terminals (courtesy Termenv)
- Reset cursor in
SetValue
when initial position is0
(thanks, @kiyonlin)
Thoughts? Questions? Feel free to reach out on Twitter and The Fediverse. We love hearing from you.