From bd267c298a7d31760d9e78e250bb40650d03c5a0 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Thu, 27 Jan 2022 15:32:16 -0800 Subject: [PATCH 1/1] Don't listen for keystrokes until log replay is done --- vopamoi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vopamoi.ts b/vopamoi.ts index e99777c..633ffef 100644 --- a/vopamoi.ts +++ b/vopamoi.ts @@ -465,7 +465,7 @@ function handleKey(event: any) { } function browserInit() { - document.body.addEventListener("keydown", handleKey, { capture: false }); log.replay(); browserUI.firstVisibleTask()?.focus(); + document.body.addEventListener("keydown", handleKey, { capture: false }); } -- 2.44.1