From e1efef4680b1a08d633c28a3bb5488dccbc0a133 Mon Sep 17 00:00:00 2001 From: Gu1llaum-3 Date: Sat, 6 Sep 2025 17:37:46 +0200 Subject: [PATCH] ui: reduce search bar width to 25 characters --- internal/ui/tui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/tui.go b/internal/ui/tui.go index 02af8b2..99b0d15 100644 --- a/internal/ui/tui.go +++ b/internal/ui/tui.go @@ -52,7 +52,7 @@ func NewModel(hosts []config.SSHHost, configFile string) Model { ti := textinput.New() ti.Placeholder = "Search hosts or tags..." ti.CharLimit = 50 - ti.Width = 50 + ti.Width = 25 // Use dynamic column width calculation (will fallback to static if width not available) nameWidth, hostnameWidth, tagsWidth, lastLoginWidth := m.calculateDynamicColumnWidths(sortedHosts)