From baf36ae662ee8508c48bbd800e50e7a1c64eb9b6 Mon Sep 17 00:00:00 2001 From: Maas Lalani Date: Fri, 31 May 2024 16:11:26 -0400 Subject: [PATCH] fix: remove border left on active element --- choose/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/choose/command.go b/choose/command.go index d1231b628..b88e2a3da 100644 --- a/choose/command.go +++ b/choose/command.go @@ -35,7 +35,7 @@ func (o Options) Run() error { theme := huh.ThemeCharm() options := huh.NewOptions(o.Options...) - theme.Focused.Base.Border(lipgloss.Border{}) + theme.Focused.Base = theme.Focused.Base.Border(lipgloss.Border{}) theme.Focused.Title = o.HeaderStyle.ToLipgloss() theme.Focused.SelectSelector = o.CursorStyle.ToLipgloss().SetString(o.Cursor) theme.Focused.MultiSelectSelector = o.CursorStyle.ToLipgloss().SetString(o.Cursor)