mirror of
https://github.com/charmbracelet/gum
synced 2024-05-13 03:36:42 +02:00
fix: use Cursor.Style
instead of CursorStyle
This commit is contained in:
parent
066c79fa14
commit
11f23830c5
|
@ -28,7 +28,7 @@ func (o Options) Run() error {
|
||||||
i.Placeholder = o.Placeholder
|
i.Placeholder = o.Placeholder
|
||||||
i.Width = o.Width
|
i.Width = o.Width
|
||||||
i.PromptStyle = o.PromptStyle.ToLipgloss()
|
i.PromptStyle = o.PromptStyle.ToLipgloss()
|
||||||
i.CursorStyle = o.CursorStyle.ToLipgloss()
|
i.Cursor.Style = o.CursorStyle.ToLipgloss()
|
||||||
i.CharLimit = o.CharLimit
|
i.CharLimit = o.CharLimit
|
||||||
|
|
||||||
if o.Password {
|
if o.Password {
|
||||||
|
|
Loading…
Reference in a new issue