fix: use `Cursor.Style` instead of `CursorStyle`

This commit is contained in:
Maas Lalani 2023-03-31 11:42:09 -04:00
parent 066c79fa14
commit 11f23830c5
No known key found for this signature in database
GPG Key ID: 5A6ED5CBF1A0A000
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ func (o Options) Run() error {
i.Placeholder = o.Placeholder
i.Width = o.Width
i.PromptStyle = o.PromptStyle.ToLipgloss()
i.CursorStyle = o.CursorStyle.ToLipgloss()
i.Cursor.Style = o.CursorStyle.ToLipgloss()
i.CharLimit = o.CharLimit
if o.Password {