fix(tui): widen cpAuth input to prevent placeholder truncation

The cpAuth text input width was 40, which truncated the 51-character
placeholder "optional, leave empty for default (Authorization)".
Increased to 55 so the full text is visible.
This commit is contained in:
kite 2026-06-14 21:59:21 +08:00
parent 72aad2c77c
commit 689b5f185e

View file

@ -149,7 +149,7 @@ func newProviderTUI(cfg *Config) providerTUIModel {
cpAuth := textinput.New()
cpAuth.Placeholder = "optional, leave empty for default (Authorization)"
cpAuth.SetWidth(40)
cpAuth.SetWidth(55)
manualURL := textinput.New()
manualURL.Placeholder = "enter your API base URL"