Windows 11 How to stop windows terminal from exiting/closing on ctrl-c?

D

Darin Hensley

I enjoy the Windows terminal, it is very nice. I use it for WSL and Ubuntu with bash shells. However, one big issue I have with it is ctrl-c. In standard Linux terminals, this will not exit close a terminal window which is the correct behavior. In Windows terminal, ctrl-c will exit the terminal window and close it at the command prompt which is incorrect. How can I make it where ctrl-c will not exit the terminal window in Windows terminal?

Continue reading...
 
Back
Top