chiark
/
gitweb
/
~bjharris
/
bedstead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d3b7ec
)
webstead: reset form at start of from_c()
author
Ben Harris
<bjh21@bjh21.me.uk>
Wed, 8 Oct 2025 08:50:51 +0000
(09:50 +0100)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Tue, 13 Jan 2026 21:42:18 +0000
(21:42 +0000)
That way we don't get fragments of the old glyph if it stops early.
webstead.xhtml
patch
|
blob
|
history
diff --git
a/webstead.xhtml
b/webstead.xhtml
index 7dfcbb4287e6c15193643047bd42741399593928..7f5e83715a007b0f963c1e8109452f3c0db1d15c 100644
(file)
--- a/
webstead.xhtml
+++ b/
webstead.xhtml
@@
-77,6
+77,7
@@
}
function from_c(c) {
re = /[0-7]+/g;
+ document.querySelector('#inpane').reset();
for (row of document.querySelector('#pixels').rows) {
match = re.exec(c);
if (match == null) {