|
@@ -17,6 +17,7 @@ let isRunning = false;
|
|
|
let domConsole = new DOMConsole("terminal");
|
|
|
|
|
|
//
|
|
|
+const ivprogConsoleTitleSpan = document.getElementById('ivprog-console-title-span');
|
|
|
const runCodePlayIcon = document.getElementById('runCodePlayIcon');
|
|
|
const runCodeStopIcon = document.getElementById('runCodeStopIcon');
|
|
|
|
|
@@ -106,8 +107,10 @@ export function runCode () {
|
|
|
isRunning = false;
|
|
|
proc = null;
|
|
|
showRunButton();
|
|
|
+ ivprogConsoleTitleSpan.focus();
|
|
|
return true;
|
|
|
}
|
|
|
+
|
|
|
return false;
|
|
|
}, 100);
|
|
|
}).catch(err => {
|