mirror of
https://github.com/openai/codex.git
synced 2026-10-25 18:28:38 +00:00
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:
co-authored by
Codex
parent
173d0ef4e3
commit
bb3e61843a
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user