mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Keep the active goal clock current in the TUI (#40622)
## Why The active goal's elapsed-time label could become stale while the TUI was idle because it was refreshed only as part of a redraw. ## What changed - Refresh the goal status indicator when the terminal-title timer fires. - Request a redraw only when the displayed elapsed-time label changes. ## Testing - Add a regression test covering the minute transition and confirming that an unchanged label does not trigger another redraw. GitOrigin-RevId: f10a1c2334cf7a5f1d2ee90d7138114479998c8d
This commit is contained in:
1 parent
e16d098c00
commit
c395364915
3 files changed
+61
-1
No files matched your search
@@ -808,6 +808,7 @@ See the Codex keymap documentation for supported actions and examples."
|
||||
None => std::future::pending().await,
|
||||
}
|
||||
} => {
|
||||
app.chat_widget.refresh_goal_status_indicator_for_time_tick();
|
||||
app.chat_widget.refresh_terminal_title();
|
||||
AppRunControl::Continue
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user