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

Extra character when pasting into some windows #682

Open
astronautryan opened this issue Jun 10, 2024 · 2 comments
Open

Extra character when pasting into some windows #682

astronautryan opened this issue Jun 10, 2024 · 2 comments

Comments

@astronautryan
Copy link

When using MobaXterm shell emulator, text does not paste correctly the first or second time. For example:

text "JustATest" is copied to clipboard

and when it's pasted in an SSH session, it comes out as this:

^[[200~JustATest~
If I paste it again,
~JustATest

I don't think this is a direct issue with Ditto, but it does not happen with the standard Windows clipboard. Any ideas as to what the issue might be would be mightily appreciated.

@garoto
Copy link

garoto commented Jun 11, 2024

These ESCAPE sequences are part of what is called "bracketed paste" (https://superuser.com/q/1532688). You can either disable this behavior in your shell or tell Ditto to send custom keystrokes as paste sequence: https://github.com/sabrogden/Ditto/wiki/Custom-Key-Strokes

@astronautryan
Copy link
Author

Thank you- I didn't even know what to look for in this case. That was super helpful!

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

No branches or pull requests

2 participants