Skip to content

Backport: Fix prevent duplicate content on window resize in chat example to v2-exp#1581

Closed
VaibhavVermaa16 wants to merge 1 commit intocharmbracelet:v2-expfrom
VaibhavVermaa16:backport-v2-exp-fix
Closed

Backport: Fix prevent duplicate content on window resize in chat example to v2-exp#1581
VaibhavVermaa16 wants to merge 1 commit intocharmbracelet:v2-expfrom
VaibhavVermaa16:backport-v2-exp-fix

Conversation

@VaibhavVermaa16
Copy link
Copy Markdown

Backport of #1580

…mple

Fixes content duplication issue when terminal window is resized by
handling WindowSizeMsg before passing to child components. Previously,
both the viewport and textarea processed resize events independently,
causing viewport state to become inconsistent with rendered content.

Fixes charmbracelet#1567
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.

2 participants