fix(tui): preserve native scrollback on terminal resize - #3124
Conversation
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e91eef7dad
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
e91eef7 to
7e7a846
Compare
|
We should not change current behaviors as it may lead to regression |
7e7a846 to
dc82089
Compare
dc82089 to
3899079
Compare
Related Issue
Related Issue
Fixes #3116
#3116
Problem
Resizing the terminal window could clear the native scrollback buffer and change the user's current scroll position.
This was especially noticeable when the user had scrolled away from the input area: resizing either the terminal width or height could unexpectedly move the
viewport to the top of the conversation.
What changed
Checklist
/approve).gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update.