diff --git a/webstead.xhtml b/webstead.xhtml
index 7dfcbb4..7f5e837 100644
--- 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) {