aboutsummaryrefslogtreecommitdiff
path: root/docs/try.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-02 15:16:01 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-02 15:16:01 -0400
commit9e0495c1f83cd392348ee9c67737efa0eed5ee8e (patch)
treeee4bfa97168db140a925416e6083b1b27a3ac11f /docs/try.html
parentdac860740b56a580c0b71a83a5614f5a78e011f5 (diff)
Add a character counter to the main online REPL
Diffstat (limited to 'docs/try.html')
-rw-r--r--docs/try.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/try.html b/docs/try.html
index 41159639..89c4ceca 100644
--- a/docs/try.html
+++ b/docs/try.html
@@ -8,8 +8,9 @@
<style>
li { margin:0.7em 0; }
textarea { padding:0.2em; }
- .perm { font-size:0.7em; margin:-0.2em 1.6em 0 0; }
+ .perm, .count { font-size:0.7em; margin:-0.2em 1.6em 0 0; }
.run, .perm { float:right; }
+ .count { float:left; opacity:0.6; }
.rslt { border:none; background:none; min-height:8em; }
</style>
</head>
@@ -18,7 +19,8 @@
<div class="cont">
<div class="kb"></div>
<textarea class="code" rows="8" autofocus></textarea>
- <input class="run" type="submit" value="Run (or shift-enter)">
+ <div class="count"></div>
+ <input class="run" type="submit" value="Run (or shift-enter)"/>
<a class="perm" href="#" title="Link with the code above embedded">permalink</a>
</div>
<pre class="rslt"></pre>