8000 add focus when repl is rendered · evolution99/pyscript@3654864 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3654864

Browse files
committed
add focus when repl is rendered
1 parent b23ca5b commit 3654864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyscriptjs/src/components/pyrepl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export class PyRepl extends HTMLElement {
190190
}
191191

192192
this.appendChild(mainDiv);
193-
193+
this.editor.focus();
194194
console.log('connected');
195195
}
196196

0 commit comments

Comments
 (0)
0