hyperterm-paste icon indicating copy to clipboard operation
hyperterm-paste copied to clipboard

Powershell pasting almost there

Open euroclydon37 opened this issue 8 years ago • 6 comments
trafficstars

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 avatar Oct 04 '17 15:10 euroclydon37

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

euroclydon37 avatar Oct 04 '17 15:10 euroclydon37

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

euroclydon37 avatar Oct 07 '17 19:10 euroclydon37

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

GabeDuarteM avatar Jan 12 '18 12:01 GabeDuarteM

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.

krzkaczor avatar Jan 14 '18 17:01 krzkaczor

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 avatar Jan 14 '18 18:01 GabeDuarteM

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

GabeDuarteM avatar Jan 14 '18 18:01 GabeDuarteM