]> git.pond.sub.org Git - eow/blobdiff - static/eow.js
start xdump-mode
[eow] / static / eow.js
index 95366290973af9ae6c03cb9a2f5c3bed6d7cbad0..7dedd45a9ac0d7f52ea45f0273f6b76a5c92206f 100644 (file)
@@ -72,13 +72,15 @@ function submit_cmdline(cmdline_form) {
   });
 }
 
-function prompt(minutes, btus) {
-  byId("prompt").textContent = "[" + minutes + "," + btus + "]: ";
-  get_next_update();
+function prompt(p) {
+  byId("prompt").textContent = p;
 }
 
 function msg(m) {
   eowOut(m);
+}
+
+function next() {
   get_next_update();
 }