ui: reduce search bar width to 25 characters

This commit is contained in:
Gu1llaum-3 2025-09-06 17:37:46 +02:00
parent 42387eb1fa
commit e1efef4680

View File

@ -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)