From 218aabc8ca1d6cd307163b4a570bb0ccc8e6ed43 Mon Sep 17 00:00:00 2001 From: GitHub Copilot Date: Sat, 14 Feb 2026 19:59:55 +0000 Subject: [PATCH] Allow visible dashboard screenshots while unfocused Relax screenshot request gating to depend on tab visibility only, so thumbnail updates continue when the dashboard tab is visible but the window is not focused. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- go/webterm/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/webterm/server.go b/go/webterm/server.go index ca9a039..a5c9d5f 100644 --- a/go/webterm/server.go +++ b/go/webterm/server.go @@ -1137,7 +1137,7 @@ func (s *LocalServer) handleRoot(w http.ResponseWriter, r *http.Request) { document.addEventListener('keydown', handleKeydown); function dashboardCanRequestScreenshots() { - return document.visibilityState === 'visible' && document.hasFocus(); + return document.visibilityState === 'visible'; } function onDashboardFocusChanged() {