mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
Handle interrupted agent status in tui_app_server
Keep the rebased realtime stack compiling on current main by rendering the Interrupted multi-agent status in tui_app_server. Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -537,6 +537,8 @@ fn status_summary_line(status: &AgentStatus) -> Line<'static> {
|
||||
status_summary_spans(status).into()
|
||||
}
|
||||
|
||||
// Allow `.yellow()`
|
||||
#[allow(clippy::disallowed_methods)]
|
||||
fn status_summary_spans(status: &AgentStatus) -> Vec<Span<'static>> {
|
||||
match status {
|
||||
AgentStatus::PendingInit => vec![Span::from("Pending init").cyan()],
|
||||
|
||||
Reference in New Issue
Block a user