Fixed errors in network join showing terminal background

This commit is contained in:
2025-02-09 16:56:21 +02:00
parent bd01405985
commit 9ee37805a3

View File

@@ -75,7 +75,7 @@ func New() Model {
name.BlurredStyle = fieldBlurredStyle
name.FocusedTextStyle = focusedTextStyle
name.BlurredTextStyle = blurredTextStyle
name.ErrorStyle = lipgloss.NewStyle().Foreground(colors.Error)
name.ErrorStyle = lipgloss.NewStyle().Background(colors.Background).Foreground(colors.Error)
name.Input.CharLimit = width
name.Focus()
name.Input.Validate = func(s string) error {