Skip to content

Commit

Permalink
feature (focus): focus on load
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-kerjean committed Jan 18, 2024
1 parent 375b69e commit 604bfed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ctrl/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
});
term.loadAddon(fitAddon);
term.open(document.getElementById("terminal"));
term.focus();
fitAddon.fit();

if (location.pathname == "/" && location.protocol !== "https:") {
Expand Down

0 comments on commit 604bfed

Please sign in to comment.