refactor(tui): clarify active composer actions (#5538)

* fix(tui): queue busy submissions on Enter

* fix(tui): remove Tab queue shortcut

* refactor(tui): clarify active composer actions

* refactor(tui): simplify active composer hint
This commit is contained in:
chengyongru
2026-08-26 00:46:31 +08:00
committed by GitHub
parent c83ed041ea
commit 3ee3791626
6 changed files with 37 additions and 20 deletions
+8 -7
View File
@@ -31,18 +31,19 @@ When you scroll away from the latest output, the scrollbar and `Ctrl+End` hint a
you return to the bottom. Large pastes are represented by a short editable placeholder in the
composer; nanobot sends the original text unchanged.
While a turn is running, the composer remains available for steering and uses `Steer this turn…`
as its prompt. The footer shows the lifecycle and elapsed time without repeating the latest tool
activity already visible in the transcript.
While nanobot is working, the composer prompt becomes
`Enter send now · Tab send next`; narrow terminals shorten it to `Enter now · Tab next`.
The footer shows progress and elapsed time without repeating the latest tool activity already
visible in the transcript.
Type `/` to discover slash commands published by the connected gateway. Use the arrow keys
to move, `Tab` to complete, and `Esc` to close the menu.
Type `@` to complete installed CLI apps, configured MCP servers, or saved sessions through the
same gateway metadata used by the WebUI. While nanobot is working, `Enter` steers the current
turn, `Tab` queues a follow-up for the next turn, and `Option+Up` on macOS (`Alt+Up` on
Windows/Linux) returns the latest queued message to the composer for editing. The pending queue
stays visible above the composer.
same gateway metadata used by the WebUI. While nanobot is working, `Enter` sends immediately,
`Tab` waits until the current response is finished, and `Option+Up` on macOS (`Alt+Up` on
Windows/Linux) returns the latest waiting message to the composer for editing. Waiting messages
stay visible above the composer.
Use `Shift+Enter` for a newline; `Ctrl+J` is the universal fallback when a terminal cannot
distinguish modified Enter keys. `Alt+Enter` and `Ctrl+Enter` are also accepted when distinguishable.
Unsent prompts return to the composer if the turn stops or fails.