feat: in-TUI login/registration screen

The default TUI path now brings the terminal up first and runs a login
screen whenever no working credentials exist: a pure-state-machine form
(unit tested) driven by an async connect/login attempt on a background
thread. Soulseek registers unknown usernames on login, so the same form
covers registration. On success the username is saved to config.toml and
a form-entered password to the OS keychain; stored credentials skip the
form entirely. Failed logins show the server error and retry instead of
aborting.
This commit is contained in:
michel
2026-07-20 20:14:17 +02:00
parent aaeb62efa4
commit d913c5cc71
3 changed files with 533 additions and 30 deletions
+1
View File
@@ -1,4 +1,5 @@
mod download_selector;
pub mod login;
mod downloads;
mod main_tui;
mod panes;