When I do something like
while True:
print(\'loop\')
and execute that code in sublime I am not able to stop it. I have to manually kill
The combination is ctrl+break
.
In Windows there is no break button, so you can go to Preferences > Key Bindings
and to the user side add this:
{ "keys" : ["ctrl+c"], "command": "cancel_build"}
Now, by pressing Ctrl+C the execution will stop. Of course, you can change the combination to whatever you want.