!752 static class Entry { S text; long time; S who; } static PersistentLog unimind; p { unimind = new PersistentLog("unimind"); } static S html(S uri, Map params) { S line = params.get("line"); if (nempty(line)) { new Entry e; e.time = now(); e.text = line; unimind.add(e); ret hrefresh(pageLink()); } new L lines; for (Entry e : unimind) lines.add(litmap("Line", e.text)); S formContents = tag("input", "", "type", "text", "name", "line", "autofocus", "1"); formContents += " " + tag("input", "", "type", "submit", "value", "Say"); ret htmlTable(lines) + tag("form", p(formContents), "method", "POST"); }