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

Powershell pasting almost there #18

Open
euroclydon37 opened this issue Oct 4, 2017 · 6 comments
Open

Powershell pasting almost there #18

euroclydon37 opened this issue Oct 4, 2017 · 6 comments

Comments

@euroclydon37
Copy link

Adding the option to specify your separator was great. Now I'm getting an issue where things are pasted twice. I think that the underlying Powershell session is still hearing ctrl + v.

screenshot 27

@euroclydon37
Copy link
Author

euroclydon37 commented Oct 4, 2017

Again, if time permits, I'll try to take a look. But work has me slammed.

@euroclydon37
Copy link
Author

I have to correct this. It happened on my Ubuntu machine as well.

@GabeDuarteM
Copy link

GabeDuarteM commented Jan 12, 2018

This is happening too on cmd.exe

Apparently, the first paste is sanitized, and the second is not. If you paste $ 7231 it actually pastes 7231$ 7231

@krzkaczor
Copy link
Owner

Hey, this is a persisting bug that I couldn't nail down. Maybe someone with experience in writing hyperterm plugins can take a look. I don't use hyperterm anymore.

@GabeDuarteM
Copy link

I have no experience with hyperterm plugins, but debugging I could find that this line is not preventing the default term's paste.
Because of that, the text is duplicated because terminal.io.sendString(sanitizedClipboard) is run (pasting the correct text), but soon after, the default ctrl + v command is run, pasting the text again.

Any idea how to fix this?

@GabeDuarteM
Copy link

I saw that hyperterm-safepaste can modify the paste's content and it doesn't duplicate the output

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

3 participants