Skip to content

fix:Prevent duplicate demo windows - #11

Merged
kibi2 merged 1 commit into
mainfrom
fix/demo-window-lifecycle
Oct 20, 2026
Merged

kibi2 merged 1 commit into
mainfrom
fix/demo-window-lifecycle

Conversation

@kibi2

@kibi2 kibi2 commented Oct 20, 2026

Copy link
Copy Markdown
Owner

Prevent duplicate demo window creation by checking whether the existing window is still valid.

Also, capture the window and buffer references before scheduling the close operation to prevent it from affecting a newly created window.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lua/keyevent/diagnosis.lua 85.71% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@kibi2
kibi2 merged commit a9e1172 into main Oct 20, 2026
2 checks passed
@kibi2
kibi2 deleted the fix/demo-window-lifecycle branch October 20, 2026 03:00
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