mirror of
https://github.com/openai/codex.git
synced 2026-11-05 16:29:31 +00:00
Fix TUI status visibility around streamed output (#33105)
## What changed - Hide the working-status indicator when finalized assistant output is committed to the transcript, including single-line final answers. - Restore the indicator when image generation begins during a running task after its streamed preamble has been flushed. ## Testing - Add snapshot coverage for a single-line final answer and for image generation following a single-line preamble. GitOrigin-RevId: e294a11cda3f0ce46f2bbed1be2a1380c9c73085
This commit is contained in:
1 parent
effd58d750
commit
fca8c00f11
6 files changed
+96
No files matched your search
@@ -26,6 +26,11 @@ impl ChatWidget {
|
||||
};
|
||||
self.clear_active_stream_tail();
|
||||
let (cell, source) = controller.finalize();
|
||||
// Match newline-committed streaming behavior: once assistant output is ready to be
|
||||
// committed into history, hide the inline status row so transcript content replaces it.
|
||||
if cell.is_some() {
|
||||
self.bottom_pane.hide_status_indicator();
|
||||
}
|
||||
let deferred_history_cell =
|
||||
if scrollback_reflow == crate::app_event::ConsolidationScrollbackReflow::Required {
|
||||
cell
|
||||
|
||||
Reference in new issue
Block a user