Skip to content

Conversation

nimobit
Copy link

@nimobit nimobit commented Jul 18, 2025

Fixes #851

Changes

  • Added logic in SelectionPrompt to cancel when Escape key is pressed
  • Returns null to match expected behavior
  • Added unit test to simulate Escape key press and assert OperationCanceledException

Checklist

  • I have read the Contribution Guidelines
  • I have commented on the issue and discussed the intended changes
  • All newly added code is adequately covered by tests
  • All existing tests are still running without errors
  • No documentation changes required

This is my first pull request to this project.
I'm open to any suggestions or feedback to improve it!

@nimobit
Copy link
Author

nimobit commented Jul 18, 2025

@microsoft-github-policy-service agree

@nimobit nimobit force-pushed the feature/esc-cancel-selection branch from a094a1c to ae9be3f Compare July 18, 2025 03:11
@github-actions github-actions bot added the ⭐ top pull request Top pull request. label Aug 23, 2025
@github-actions github-actions bot removed the ⭐ top pull request Top pull request. label Sep 19, 2025
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.

Esc Key to exit selection

1 participant