diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-01 19:19:49 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-01 19:19:49 +0100 |
| commit | 24e3bb54db579fb9aad8df2a591527dc77fe4cb4 (patch) | |
| tree | af9a0c290f2675068e8396823f641f24bbe4d308 /tests/client_ui.rs | |
| parent | v4.0.6: move the prompt editor and key mapping out of the core (diff) | |
| download | zagan-bet-24e3bb54db579fb9aad8df2a591527dc77fe4cb4.tar.gz zagan-bet-24e3bb54db579fb9aad8df2a591527dc77fe4cb4.zip | |
v4.0.7: finish the Phase 1 boundary with a command shell
The terminal command line moves to client::shell: a typed line becomes a core Command or an adapter action (connect, login, register, set-credential, host maintenance). ClientCore loses submit_line and the last TUI-shaped effects (Interactive, SetPrompt, ListHosts, ForgetHost, AnimateRoulette); the adapter animates roulette from the Result view.
Adds forget-login, which drops the stored credential for the pinned key and keeps trust, distinct from logout (session only) and forget-host (trust too).
Diffstat (limited to '')
| -rw-r--r-- | tests/client_ui.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/client_ui.rs b/tests/client_ui.rs index 6e00903..bd9ccbc 100644 --- a/tests/client_ui.rs +++ b/tests/client_ui.rs | |||
| @@ -27,7 +27,8 @@ fn help_documents_every_command() { | |||
| 27 | fn completion_knows_every_command() { | 27 | fn completion_knows_every_command() { |
| 28 | let commands = command_names(); | 28 | let commands = command_names(); |
| 29 | for expected in [ | 29 | for expected in [ |
| 30 | "connect", "games", "play", "hosts", "send", "logout", "quit", | 30 | "connect", "games", "play", "hosts", "forget-host", "forget-login", "send", "logout", |
| 31 | "quit", | ||
| 31 | ] { | 32 | ] { |
| 32 | assert!( | 33 | assert!( |
| 33 | commands.contains(&expected), | 34 | commands.contains(&expected), |
