-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix: tab and esc are properly reserved #7268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR adds state management for key reservation (Tab/Esc) in the NextEditWindowManager to prevent race conditions and ensure proper cleanup. The implementation uses a state machine approach with proper error handling and async coordination. Overall the changes are well-structured, but there's a typo in the equality check and some cleanup needed for commented code.
💡 To request a new detailed review, comment @continue-detailed-review
Code Review Summary✅ Strengths
|
Description
Closes CON-3594.
Properly handle reservation and freeing of tab and esc. More user tests on different machines is needed once it's merged.
AI Code Review
@continue-general-review
or@continue-detailed-review
Checklist
Screen recording or screenshot
[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]
Tests
[ What tests were added or updated to ensure the changes work as expected? ]
Summary by cubic
Ensure Tab and Esc are correctly reserved and released for the Next Edit window to prevent conflicts and stuck keys across editors. Addresses CON-3594 by serializing key reservation and adding robust error handling and cleanup.