From 604bfed54c89f82a7240574c6337122dbad4eaa2 Mon Sep 17 00:00:00 2001 From: MickaelK Date: Fri, 19 Jan 2024 01:56:27 +1100 Subject: [PATCH] feature (focus): focus on load --- ctrl/src/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/ctrl/src/index.html b/ctrl/src/index.html index 07ed2cc..e5c10c9 100644 --- a/ctrl/src/index.html +++ b/ctrl/src/index.html @@ -56,6 +56,7 @@ }); term.loadAddon(fitAddon); term.open(document.getElementById("terminal")); + term.focus(); fitAddon.fit(); if (location.pathname == "/" && location.protocol !== "https:") {