The prompt_config() function used print!() without flushing stdout, causing all prompts to be buffered and invisible to the user. The program appeared to hang silently after 'No config found — first-time setup'. Changes: - Add std::io::stdout().flush().unwrap() after each print!() prompt - Style prompts with cyan '→' prefix to match CLI conventions - Show default values in square brackets for relay URL and label - Use hostname() as default label (was previously Optional/None) - Add blank line after prompts before '✓ Config saved' |
||
|---|---|---|
| .. | ||
| client | ||
| common | ||
| server | ||