tui: clarify queue replay stop comment

Explain that the busy-path Stop return in dispatch_command() only matters for live dispatch because queued replay never reaches that branch.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Charles Cunningham
2026-03-15 23:32:50 -07:00
co-authored by Codex
parent 173d0ef4e3
commit bb3e61843a
+2 -1
View File
@@ -4332,7 +4332,8 @@ impl ChatWidget {
self.queue_user_message(format!("/{}", cmd.command()).into());
// This busy-path queueing only happens for live command dispatch. Queued replay
// executes slash drafts only while idle, and handle_serialized_slash_command() queues
// instead of dispatching when a task is already running.
// instead of dispatching when a task is already running, so this Stop result is not
// material to replay behavior.
return QueueReplayControl::Stop;
}
match cmd {