From d251b54fe40f6f8f95261b4df65bced2fb728c63 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 1 Nov 2026 19:00:04 +0100 Subject: v4.0.6: move the prompt editor and key mapping out of the core --- docs/GUI-PLAN.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs') 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. Done so far: every game plus `Lobby` and `History` are structured views; the client transport (TCP, rustls, TOFU, `HELLO`, auto-login) lives in `client::transport` behind a trust callback; login and registration are -`Command`s, so a GUI form never needs a terminal prompt. Remaining: the -`Connect` and `Trust` screens (adapter-owned; the transport callback is ready) -and removing `Key` from the core. The TUI's interactive login still uses its -own prompt and should move to `Command::Login` when that prompt moves out. +`Command`s, so a GUI form never needs a terminal prompt. The command-line +editor and key mapping moved to `client::input`; `ClientCore` no longer knows +keys, the prompt or its history. Remaining: the `Connect` and `Trust` adapter +screens, and replacing the last TUI-shaped effects (`Interactive`, host +listing, roulette animation) with commands. - Introduce `Command` and `View`; move terminal-only concerns (prompt editing, wheel animation, interactive prompts) into the TUI adapter. -- cgit v1.2.3