Home > Software engineering >  Visual Studio Code - Integrated Terminal - Ctrl Z
Visual Studio Code - Integrated Terminal - Ctrl Z

Time:11-22

I'm using visual studio code on Windows and using the integrated terminal with git-bash for Windows.

I just can't get the Ctrl Z to work inside the integrated terminal, outside (external) it works just fine. What can be wrong? How can I check why vscode is getting in the way with the Ctrl Z shortcut?

CodePudding user response:

As far as I am aware, there is no "undo" shortcut in terminal.

Control Z sends SIGSTOP to whatever program is currently running, killing it without allowing it to clean up.

Here is a great post about Control Z and Control C in bash.

Here is the list of available shortcuts in VS Code, if you are interested.

CodePudding user response:

Certain keymap extensions can do this in regular vscode. Try to uninstall them if this is in there, but terminals don't have an "Undo".

  • Related