mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
Open /status in an interactive TUI modal (#64772)
## Why Rate limits and thread usage can arrive after `/status` is displayed. Updating a status card already in terminal scrollback required rewriting history and depended on where the card was rendered. ## What changed - Show the report in a scrollable modal with Overview, Configuration, and Session tabs. Apply rate limit and thread usage results to the open report without writing status output to the transcript or terminal scrollback. - Copy a selected field or the full report directly from the modal, and open usage settings from the same view. Remove status fields from the `/copy` picker. ## Testing Add coverage for overlapping refreshes, dismissal during account or thread changes, keyboard navigation and copying during an active turn, and scrolling in a narrow terminal. GitOrigin-RevId: 64961c4d013607e373d50a79182b74e3048c632f
This commit is contained in:
@@ -554,6 +554,8 @@ trust_level = "trusted"
|
||||
})
|
||||
.await
|
||||
.with_context(|| format!("daemon status timed out: {output}"))??;
|
||||
// Dismiss the status modal before sending /quit to the composer.
|
||||
session.writer_sender().send(b"\x03".to_vec()).await?;
|
||||
}
|
||||
if analytics {
|
||||
for reason in ["turn_start", "resize"] {
|
||||
|
||||
Reference in New Issue
Block a user