vscode-shell-command icon indicating copy to clipboard operation
vscode-shell-command copied to clipboard

ESC does not cancel the task

Open ahfakt opened this issue 7 months ago • 1 comments

I use code-server v4.99.4 with this extension v1.18.0 and recenlty updated both. I don't know which combination did but there is something broken. Pressing ESC when a pick dialog showed up should cancel the task but instead I think it returns empty result and it continues with that. If the input defined with ${prompt:...} feature it fails with a visible error notification. Both should behave like discussed here(There may be other cases). Default input types still works as expected.

ahfakt avatar May 09 '25 10:05 ahfakt

If you press escape, undefined, not empty string, is returned to vscode.commands.registerCommand(). I don't know of anything else this extension can do within the confines of vscode's api. Also, I don't see any error messages when pressing esc.

MarcelRobitaille avatar May 17 '25 09:05 MarcelRobitaille

When i press eacape, i will get string "${input:xxxx}", the xxxx is the input id. I think we need cancel this task.

Antecer avatar Jun 09 '25 12:06 Antecer