Make print more of a standard RPC thing.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3959 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-08-14 16:58:26 +00:00
parent 3464f1d189
commit 4525ee9cca
2 changed files with 9 additions and 7 deletions

View File

@ -268,7 +268,7 @@ async function getProcessBlob(blobId, key, options) {
}
}
process.task.onPrint = function(args) {
process.app.send({action: 'print', args: args});
imports.app.print(...args);
};
process.task.onError = function(error) {
try {