diff --git a/input/command.go b/input/command.go index c02f65c..58252dd 100644 --- a/input/command.go +++ b/input/command.go @@ -23,7 +23,7 @@ func (o Options) Run() error { theme := huh.ThemeCharm() theme.Focused.Base = lipgloss.NewStyle() - // theme.Focused.TextInput.Cursor = o.CursorStyle.ToLipgloss() + theme.Focused.TextInput.Cursor = o.CursorStyle.ToLipgloss() theme.Focused.TextInput.Placeholder = o.PlaceholderStyle.ToLipgloss() theme.Focused.TextInput.Prompt = o.PromptStyle.ToLipgloss() theme.Focused.Title = o.HeaderStyle.ToLipgloss() diff --git a/write/command.go b/write/command.go index 04a3a8a..54cdb85 100644 --- a/write/command.go +++ b/write/command.go @@ -37,6 +37,7 @@ func (o Options) Run() error { ). WithWidth(o.Width). WithHeight(o.Height). + WithTheme(theme). WithShowHelp(false).Run() if err != nil {