diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-01 19:00:04 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-01 19:00:04 +0100 |
| commit | d251b54fe40f6f8f95261b4df65bced2fb728c63 (patch) | |
| tree | 11a4ddffd68f1f497498d36096435a56d9f13c1b /docs | |
| parent | v4.0.5: login and registration as core commands (diff) | |
| download | zagan-bet-d251b54fe40f6f8f95261b4df65bced2fb728c63.tar.gz zagan-bet-d251b54fe40f6f8f95261b4df65bced2fb728c63.zip | |
v4.0.6: move the prompt editor and key mapping out of the core
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/GUI-PLAN.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/GUI-PLAN.md b/docs/GUI-PLAN.md index f8ac3d5..cb0db91 100644 --- a/docs/GUI-PLAN.md +++ b/docs/GUI-PLAN.md | |||
| @@ -31,10 +31,11 @@ core builds a typed view, frontends send `Command`, and the TUI renders it. | |||
| 31 | Done so far: every game plus `Lobby` and `History` are structured views; the | 31 | Done so far: every game plus `Lobby` and `History` are structured views; the |
| 32 | client transport (TCP, rustls, TOFU, `HELLO`, auto-login) lives in | 32 | client transport (TCP, rustls, TOFU, `HELLO`, auto-login) lives in |
| 33 | `client::transport` behind a trust callback; login and registration are | 33 | `client::transport` behind a trust callback; login and registration are |
| 34 | `Command`s, so a GUI form never needs a terminal prompt. Remaining: the | 34 | `Command`s, so a GUI form never needs a terminal prompt. The command-line |
| 35 | `Connect` and `Trust` screens (adapter-owned; the transport callback is ready) | 35 | editor and key mapping moved to `client::input`; `ClientCore` no longer knows |
| 36 | and removing `Key` from the core. The TUI's interactive login still uses its | 36 | keys, the prompt or its history. Remaining: the `Connect` and `Trust` adapter |
| 37 | own prompt and should move to `Command::Login` when that prompt moves out. | 37 | screens, and replacing the last TUI-shaped effects (`Interactive`, host |
| 38 | listing, roulette animation) with commands. | ||
| 38 | 39 | ||
| 39 | - Introduce `Command` and `View`; move terminal-only concerns (prompt editing, | 40 | - Introduce `Command` and `View`; move terminal-only concerns (prompt editing, |
| 40 | wheel animation, interactive prompts) into the TUI adapter. | 41 | wheel animation, interactive prompts) into the TUI adapter. |
