Skip to content

fix(chat): repaint late-collapsed tool slots immediately#3973

Merged
esengine merged 1 commit into
main-v2from
fix/late-collapse-dirty-flag
Jun 11, 2026
Merged

fix(chat): repaint late-collapsed tool slots immediately#3973
esengine merged 1 commit into
main-v2from
fix/late-collapse-dirty-flag

Conversation

@esengine

Copy link
Copy Markdown
Owner

Follow-up to #3951 (cross-posted there): the late-result branch of collapseToolOutput mutates the transcript and returns without setting transcriptDirty, so a late-collapsed slot doesn't repaint until the next unrelated event arrives. Moved the flag into collapseShellSlot so both callers are covered, and dropped the now-redundant set in the active path.

Follow-up to #3951: the late-result branch of collapseToolOutput
mutated the transcript without setting transcriptDirty, so the
rewritten slot waited for the next unrelated event to paint. Set the
flag inside collapseShellSlot, covering both callers.
@esengine esengine requested a review from SivanCola as a code owner June 11, 2026 06:50
@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development tui Terminal UI / CLI (internal/cli, internal/control) labels Jun 11, 2026
@esengine esengine merged commit c5c3093 into main-v2 Jun 11, 2026
14 checks passed
@esengine esengine deleted the fix/late-collapse-dirty-flag branch June 11, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tui Terminal UI / CLI (internal/cli, internal/control) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant