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

Use xtermjs onData rather than onKey #78

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Use xtermjs onData rather than onKey #78

merged 1 commit into from
Nov 28, 2024

Conversation

ianthomas23
Copy link
Member

Use xtermjs onData rather than onKey for the demo as that is what is used in JupyterLab:
https://github.com/jupyterlab/jupyterlab/blob/48908a8b07128b651faab72434f8d442b99bc91c/packages/terminal/src/widget.ts#L366

This supports better mapping of keys to characters, and also pasting into the terminal.

@ianthomas23 ianthomas23 added the enhancement New feature or request label Nov 28, 2024
@ianthomas23 ianthomas23 merged commit d473de0 into main Nov 28, 2024
7 checks passed
@ianthomas23 ianthomas23 deleted the onData branch November 28, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant