forked from cory/tildefriends
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:
@ -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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user