From b1612c116bf6f8b8c603304b4df58ee20a045474 Mon Sep 17 00:00:00 2001 From: Brad Nelson Date: Fri, 12 Aug 2022 13:41:38 -0700 Subject: [PATCH] Tweak blink rate. --- web/platform.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/platform.fs b/web/platform.fs index 5f30f78..d2ec2e3 100644 --- a/web/platform.fs +++ b/web/platform.fs @@ -69,14 +69,14 @@ if (!globalObj.write) { setInterval(function() { if (context.cursor) { var now = new Date().getTime(); - var state = Math.floor((now - context.cursor_time) / 300) % 2; + var state = Math.floor((now - context.cursor_time) / 250) % 2; if (state) { context.cursor.style.visibility = 'hidden'; } else { context.cursor.style.visibility = 'visible'; } } - }, 100); + }, 50); context.terminal = document.createElement('div'); context.terminal.style.width = '100%';