From 0badda6799a8ad31e552ff3abb07806d49dfa580 Mon Sep 17 00:00:00 2001
From: Ward Truyen
Date: Sun, 19 Oct 2025 00:25:30 +0200
Subject: [PATCH] chore: improved code explenation
---
src/static-terminal.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/static-terminal.html b/src/static-terminal.html
index 80bb346..1174dc5 100644
--- a/src/static-terminal.html
+++ b/src/static-terminal.html
@@ -31,7 +31,7 @@
element-id("static-terminal") to generate a terminal as a 'static element on our page'.
Samples:
@@ -47,10 +47,10 @@
<script src="js/wterminal.js"></script>
Where the terminal should be add a div element, with id "static-terminal":
- <div id="static-terminal"></div>
+ <div id="my-terminal-name"></div>
Finally add a script element with:
- new WTerminal("static", "static-terminal", null);
+ new WTerminal("static", "my-terminal-name");