Skip to content

Conversation

@hoyosjs
Copy link
Member

@hoyosjs hoyosjs commented Jan 6, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 6, 2026 07:30
@hoyosjs hoyosjs requested a review from a team as a code owner January 6, 2026 07:30
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a potential NullReferenceException when VirtualTerminalMode.TryEnable() returns null on Windows systems where console mode operations fail. The fix uses null-conditional and null-coalescing operators to safely handle the null case and default to disabling ANSI terminal features.

Key changes:

  • Updated null handling for VirtualTerminalMode in the Monitor method to prevent potential null reference exceptions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants