From 6cfbeaa63da850487853241708b848ff3195764c Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Fri, 27 Dec 2024 18:23:31 -0500 Subject: Fix color input width --- internal/switcher/switcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/switcher/switcher.go b/internal/switcher/switcher.go index e0b9579..bd58fe9 100644 --- a/internal/switcher/switcher.go +++ b/internal/switcher/switcher.go @@ -137,7 +137,7 @@ func (m Model) View() string { var inputStr string if m.input.Focused() { - m.input.Width = w + m.input.Width = w - lipgloss.Width(ui.PromptPrefix) - 1 inputStr = ui.Style().Boxed.Render(m.input.View()) } -- cgit v1.2.3