Skip to content

use StringComparer.OrdinalIgnoreCase as default comparer for TextPrompt#2077

Merged
patriksvensson merged 1 commit intospectreconsole:mainfrom
AntekOlszewski:case-insensitive-user-input-comparison
Apr 7, 2026
Merged

use StringComparer.OrdinalIgnoreCase as default comparer for TextPrompt#2077
patriksvensson merged 1 commit intospectreconsole:mainfrom
AntekOlszewski:case-insensitive-user-input-comparison

Conversation

@AntekOlszewski
Copy link
Copy Markdown
Contributor

Fixes #1906

  • I have read the Contribution Guidelines
  • I have checked that there isn't already another pull request that solves the above issue
  • All newly added code is adequately covered by tests
  • All existing tests are still running without errors

This change was previously proposed in #1960 but became outdated.
This PR reintroduces the same fix on top of the current codebase.


Please upvote 👍 this pull request if you are interested in it.

@AntekOlszewski
Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree

@patriksvensson patriksvensson merged commit 37d1b53 into spectreconsole:main Apr 7, 2026
3 checks passed
@patriksvensson
Copy link
Copy Markdown
Contributor

Merged! Thank you for your contribution. Much appreciated! 👍

This was referenced Apr 16, 2026
This was referenced Apr 21, 2026
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.

Ignore the case of the input for TextPrompt (select from multiple choices)

2 participants