Skip to content

Keep chat windows filled when thinking collapses#200

Merged
dnouri merged 1 commit into
masterfrom
fix/thinking-collapse-window-restore
Apr 28, 2026
Merged

Keep chat windows filled when thinking collapses#200
dnouri merged 1 commit into
masterfrom
fix/thinking-collapse-window-restore

Conversation

@dnouri
Copy link
Copy Markdown
Owner

@dnouri dnouri commented Apr 28, 2026

When a long thinking block finished, hidden thinking replaced many visible lines with a short stub. A chat window could keep its start inside the deleted text, so the user saw a mostly blank pane instead of the new tail.

Remember visible window positions before large chat rewrites and restore them against the rewritten buffer. Tail views stay at the new tail, and other chat windows keep their reading context before or after the thinking block.

When a long thinking block finished, hidden thinking replaced many visible lines with a short stub.  A chat window could keep its start inside the deleted text, so the user saw a mostly blank pane instead of the new tail.

Remember visible window positions before large chat rewrites and restore them against the rewritten buffer.  Tail views stay at the new tail, and other chat windows keep their reading context before or after the thinking block.
@dnouri dnouri force-pushed the fix/thinking-collapse-window-restore branch from dda11ba to 8357b85 Compare April 28, 2026 12:03
@dnouri dnouri merged commit 38f90c0 into master Apr 28, 2026
11 checks passed
@dnouri dnouri deleted the fix/thinking-collapse-window-restore branch April 28, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant