IntelliJ Terminal CTRL+C does not work

As I had git for Windows installed anyway I just replaced the terminal used by IntelliJ from cmd.exe (which is the default on windows) to bash.exe supplied by git for Windows (which is cygwin btw)

To change it for all projects go to File >> Other Settings >> Default Settings and then Tools >> Terminal. (see screenshot)

In the shell path field set the following line:

"C:\Program Files\Git\bin\bash.exe" --login -i

Please make sure git is installed at the proper localtion or adjust the path (for example if you have the 32bit version of git installed)

screenshot of the windows to change the option

Using bash instead of cmd, the problem does not occour for me. Plus the bash supports some commands that cmd does not support, which is kinda nice when been used to a linux environment.

EDIT 2020-09-30: In latest Intellij versions the Terminal is a project-level setting and can be changed here:

new version is located under "new projects settings"