Move most of the specification of terminal API client-side, so that the terminal can be changed without restarting the core. Add descriptions to some packages. Other minor improvements.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3222 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2016-04-30 10:50:43 +00:00
parent 9668723200
commit 25d97e5e3b
7 changed files with 44 additions and 48 deletions

View File

@ -1,5 +1,7 @@
"use strict";
//! {"description": "A list of all packages and connected users"}
core.register("onSessionBegin", index);
core.register("onSessionEnd", index);
@ -64,7 +66,8 @@ function index() {
terminal.print(
"* ",
{href: "/~" + app.owner + "/" + app.name},
message);
message,
app.manifest && app.manifest.description ? " - " + app.manifest.description.toString() : "");
});
terminal.uncork();
});