Checks
Operating system
If you're using the same Windows setup as before:
Expected behaviour
When I type a prompt manually in Amazon Q and press Ctrl+Z, the text is undone correctly.
I expect the same behavior when I copy and paste a prompt. Pressing Ctrl+Z should undo the pasted text.
Actual behaviour
When I copy and paste a prompt into Amazon Q in VS Code and press Ctrl+Z, the pasted text is not undone.
Interestingly, Ctrl+Z works correctly when the prompt is typed manually.
This is a small issue, but it can be frustrating when working in a rush. It happens repeatedly and interrupts the workflow because I have to manually remove or correct the pasted prompt.
I have attached a video demonstrating the issue.
Steps to reproduce
- Open VS Code with Amazon Q Developer.
- Open the Amazon Q chat/input area.
- Type some text manually.
- Press
Ctrl+Z — the typed text is undone correctly.
- Copy a prompt/text from another application.
- Paste the prompt into Amazon Q.
- Press
Ctrl+Z.
- Observe that the pasted prompt is not undone.
Expected: The pasted prompt should be removed/undone.
Actual: Ctrl+Z does not undo the pasted prompt.
Environment
OS: Windows 11
Editor: Visual Studio Code
Amazon Q: Amazon Q Developer VS Code extension
Amazon Q CLI: Not installed / `q` command is not recognized
Checks
q doctorin the affected terminal sessionq restartand replicated the issue againOperating system
If you're using the same Windows setup as before:
Expected behaviour
When I type a prompt manually in Amazon Q and press
Ctrl+Z, the text is undone correctly.I expect the same behavior when I copy and paste a prompt. Pressing
Ctrl+Zshould undo the pasted text.Actual behaviour
When I copy and paste a prompt into Amazon Q in VS Code and press
Ctrl+Z, the pasted text is not undone.Interestingly,
Ctrl+Zworks correctly when the prompt is typed manually.This is a small issue, but it can be frustrating when working in a rush. It happens repeatedly and interrupts the workflow because I have to manually remove or correct the pasted prompt.
I have attached a video demonstrating the issue.
Steps to reproduce
Ctrl+Z— the typed text is undone correctly.Ctrl+Z.Expected: The pasted prompt should be removed/undone.
Actual:
Ctrl+Zdoes not undo the pasted prompt.Environment