diff --git a/index.html b/index.html index 3dc198b..e6c4b13 100644 --- a/index.html +++ b/index.html @@ -276,7 +276,7 @@ PyStudio - + @@ -435,6 +435,10 @@ function runCurrentCode() { stopCurrentCode(); + + document.getElementById('runButton').blur(); + document.querySelector('canvas').focus(); + if (term) term.clear(); StopExecution = false; var code = codeEditor.getValue();
PyStudio