Skip to content

Conversation

@eexwhyzee
Copy link
Contributor

i'm using ghostty-web in an experimental jupyter lab extension to replace its built-in terminal, and noticed that the bracketed paste was not working correctly.

I looked into the input handler code and saw that the fix is pretty much noted in the existing doc string haha so this PR just updates the input handler to check if bracketed paste mode is enabled, if so, wrap the text in the paste sequences.

Testing

i tested a local build of ghostty-web with my jupyter lab extension and it was working as expected, i also ran the demo locally to confirm the fix as well

before the fix:
Screenshot 2025-12-12 at 1 53 54 PM

after the fix:
Screenshot 2025-12-12 at 1 54 37 PM

@sreya
Copy link
Contributor

sreya commented Dec 12, 2025

Thanks for this!

@sreya sreya merged commit 65aeac9 into coder:main Dec 12, 2025
5 checks passed
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.

2 participants