Skip to content

fix: refresh prompt layout after paste - #5

Merged
leohenon merged 1 commit into
leohenon:mainfrom
bjschafer:bschafer/fix-paste-layout
Jul 25, 2026
Merged

fix: refresh prompt layout after paste#5
leohenon merged 1 commit into
leohenon:mainfrom
bjschafer:bschafer/fix-paste-layout

Conversation

@bjschafer

Copy link
Copy Markdown
Contributor

Async host paste handlers can finish after the prompt layout/render pass, leaving pasted text visually stale until another UI event. Defer a layout refresh until the paste handler settles, and cancel pending refresh timers during disposal. Adds adapter coverage for async paste completion.

@leohenon leohenon left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

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