mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Preserve TUI status timing when the status row is hidden (#41913)
## Why Streaming can temporarily hide the status row, but its elapsed time is still needed when the row returns and when the final `Worked for` duration falls back to the local clock. Approval prompts must also keep that clock paused. ## What changed - Own the pause-aware status timer in the bottom pane independently of the optional status row. - Preserve elapsed time and modal pause state while hiding or restoring the row, and reset the clock for new turns and Windows sandbox setup. - Use the independent timer as the fallback for the final turn duration. ## Testing Add timer unit coverage and TUI tests for hidden rows, outstanding approvals, fallback turn durations, and fresh Windows sandbox setup clocks. GitOrigin-RevId: a77931e465d5aedd4a8cd606a3a3117d1bb37ce7
This commit is contained in:
1 parent
5f79a92e39
commit
17e8101699
10 files changed
+295
-147
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
---
|
||||
source: tui/src/chatwidget/tests/permissions.rs
|
||||
assertion_line: 610
|
||||
expression: "setup.replace(&chat.config.cwd.display().to_string(), \"[CWD]\")"
|
||||
---
|
||||
• Setting up sandbox... (0s)
|
||||
└ Hang tight, this may take a few minutes
|
||||
|
||||
|
||||
› Input disabled until setup completes.
|
||||
|
||||
gpt-5.6-sol default · [CWD]
|
||||
Reference in new issue
Block a user