Skip to content

Commit

Permalink
fix: on window focus cli focus
Browse files Browse the repository at this point in the history
  • Loading branch information
0xste committed Sep 24, 2024
1 parent dc1daac commit f3ba08b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@
window.onload = () => {
cliInput.focus();
};
window.focus = () => {
cliInput.focus();
};
</script>
</body>
</html>

0 comments on commit f3ba08b

Please sign in to comment.