Skip to content
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

Add custom wheel event handler and other props #3

Merged
merged 6 commits into from
Jun 5, 2024

Conversation

PabloLION
Copy link
Owner

@PabloLION PabloLION commented Jun 5, 2024

Adds support for custom wheel event handling and other terminal functionalities in the XTerm component.

  • Implements the customWheelEventHandler prop in the XTermProps interface with a docstring, allowing users to attach a custom wheel event handler to the terminal.
  • Adds props for linkProvider, characterJoiner, deregisterCharacterJoiner, registerMarker, and registerDecoration in the XTermProps interface, each with appropriate docstrings. These props enable users to register custom handlers and providers for various terminal functionalities.
  • Processes the customWheelEventHandler in the XTerm component constructor, attaching it to the terminal instance if provided.
  • Includes placeholders and docstrings for handling linkProvider, characterJoiner, deregisterCharacterJoiner, registerMarker, and registerDecoration props, indicating an intention to implement these functionalities in the future.

For more details, open the Copilot Workspace session.

@PabloLION
Copy link
Owner Author

Only the first commit was done by GitHub Copilot Workspace. Either it's not very clever or I don't know how to use it.

@PabloLION PabloLION merged commit f0b0f15 into main Jun 5, 2024
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.

None yet

1 participant