diff --git a/preview/app.js b/preview/app.js index ed08fc2..696c7c8 100644 --- a/preview/app.js +++ b/preview/app.js @@ -110,6 +110,7 @@ snapshot = undefined; $('capture').textContent = 'Loading snapshot…'; term.reset(); + $('terminal').classList.add('boot'); ready = false; state('Starting preview…'); $('restart').hidden = true; @@ -156,6 +157,7 @@ for (const data of pending) term.write(new Uint8Array(data)); pending.length = 0; ready = true; + $('terminal').classList.remove('boot'); state('Ready'); if (matchMedia('(pointer:fine)').matches) term.focus(); } catch (error) { diff --git a/preview/index.html b/preview/index.html index b6c8295..6a1abbd 100644 --- a/preview/index.html +++ b/preview/index.html @@ -41,7 +41,7 @@

hn.

> -
+

Click or tap the terminal to type. Press ? for keys.