I\'ve been stopping commands with the trash can for too long. Command period doesn\'t work on Mac. I can\'t find anywhere how to stop the terminal via a command. Anyone know wha
Hitting escape clears out the terminal and cancels evreything.
you can stop any running command by pressing control + c in your keyboard.
If it is ':' you see then "q" + enter.
eg: git config --list
(this will take you to the colon and nothing works to escape)
Neither ctrl + c
nor the trash icon actually stopped the server for me.
If you are using the Live Server
extension by Ritwick Day, there should be a label on the bar at the bottom for the status of the server.
If it reads Port: 5500
it means it's running. Just click on it to stop it.
stop live server
The same label now should say Go Live
click on it in order to do exactly that.
start live server
ctrl + c
works in terminal but didn't work for me in vs code. However hitting q
did ( when running a git diff
for example)
You can terminate with the Trash icon like you do,
or press Control + C
. That's the shortcut from the default Terminal app and it also works in VS Code.
Hope this helps! ✌