Skip to content

Fix XTerm.NET build warnings#7

Open
jchristn wants to merge 1 commit into
tomlm:mainfrom
jchristn:fix/build-warnings
Open

Fix XTerm.NET build warnings#7
jchristn wants to merge 1 commit into
tomlm:mainfrom
jchristn:fix/build-warnings

Conversation

@jchristn
Copy link
Copy Markdown

@jchristn jchristn commented Jun 1, 2026

Summary

This fixes the two current XTerm.NET build warnings:

  • removes the unused EscapeSequenceParser.Dcs event, since DCS sequences are currently consumed by the parser state machine but not emitted to subscribers
  • makes Terminal.HyperlinkChanged a real raised event from OSC 8 hyperlink handling

The hyperlink event now fires when a hyperlink starts and when it is cleared. The event args URL is nullable so the clear event can report null, matching Terminal.CurrentHyperlink.

Validation

  • dotnet build src\XTerm.NET.slnx -c Release
    • 0 warnings, 0 errors
  • dotnet test src\XTerm.NET.slnx
    • 584 passed, 0 failed

@jchristn jchristn marked this pull request as ready for review June 1, 2026 23:17
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.

1 participant