Update: 更新python_pyodide

This commit is contained in:
王立帮
2024-09-09 16:38:22 +08:00
parent 6787831c58
commit 9d5bb10f10
8 changed files with 9 additions and 23 deletions

View File

@@ -172,6 +172,9 @@ class PythonShell {
run(code) {
this.stop()
.then(() => {
if (code.indexOf('import turtle') !== -1) {
code += '\nturtle.done()\n';
}
this.#statusBarsManager_.changeTo('output');
this.#statusBarsManager_.show();
this.#statusBarTerminal_.setValue(`${Msg.Lang['shell.running']}...\n`);