diff --git a/pyscriptjs/src/components/pyrepl.ts b/pyscriptjs/src/components/pyrepl.ts index 51b5140..361c01d 100644 --- a/pyscriptjs/src/components/pyrepl.ts +++ b/pyscriptjs/src/components/pyrepl.ts @@ -190,7 +190,7 @@ export class PyRepl extends HTMLElement { } this.appendChild(mainDiv); - + this.editor.focus(); console.log('connected'); }