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

Cmd-v in the chat box will repeat the copied text multiple times #1246

Closed
3 tasks done
LeonardoGentile opened this issue May 7, 2024 · 6 comments
Closed
3 tasks done
Assignees
Labels
bug Something isn't working

Comments

@LeonardoGentile
Copy link

Before submitting your bug report

Relevant environment info

- OS:Mac Os 13.6.6
- Continue: 0.9.125
- IDE: VsCode 1.87.2

Description

When pasting into the chat box with Cmd-V the pasted text will be repeated

To reproduce

  • Copy something from vscode of from anywhere else with Cmd-C, for example this is a test
  • Pasting into the chat box with Cmd-v
    Will paste the copied item multiple times, producing something like this
This is a testThis is a testThis is a testThis is a testThis is a testThis is a testThis is a testThis is a test

If I right click and select paste then the problem is not present and the text is pasted normally as expected

Log output

No response

@LeonardoGentile LeonardoGentile added the bug Something isn't working label May 7, 2024
@sestinj sestinj self-assigned this May 7, 2024
@sestinj
Copy link
Contributor

sestinj commented May 7, 2024

Looks related to this recent fix

@sestinj
Copy link
Contributor

sestinj commented May 8, 2024

Appears resolved with preventDefault: 8117abc.

I'll wait to close the issue until this is published in pre-release

@LeonardoGentile
Copy link
Author

Hello @sestinj thanks for the quick fix!
I've installed continue@0.9.129 that it should in theory solve the issue but it's still happening for me

@deansher
Copy link

I'd like to second that this is a hugely important bug. Not QUITE a blocker. But pretty close.

@sestinj
Copy link
Contributor

sestinj commented May 13, 2024

Yup I'm seeing it too now. Working on a real fix, I'll update soon

@sestinj
Copy link
Contributor

sestinj commented May 15, 2024

Ok finally figured out that it was pasting once per open input box. Silly mistake, but fixed here: c3fd16b, on its way in 0.9.132

@sestinj sestinj closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants