diff --git a/process/process.lua b/process/process.lua index fb61e918..3a142ae0 100644 --- a/process/process.lua +++ b/process/process.lua @@ -309,7 +309,10 @@ function process.handle(msg, _) newMsg["Reply-To"] = msg["Reply-To"] or msg.From newMsg["X-Reference"] = msg["X-Reference"] or msg.Reference newMsg["X-Origin"] = msg["X-Origin"] or msg.From - + -- clear functions + newMsg.reply = nil + newMsg.forward = nil + ao.send(newMsg) end diff --git a/src/index.js b/src/index.js index d52ff9f8..d0050429 100644 --- a/src/index.js +++ b/src/index.js @@ -396,6 +396,8 @@ if (!argv['watch']) { if (output?.data) { if (output.data.hasOwnProperty('output')) { console.log(output.data.output) + } else if (output.data.hasOwnProperty('prompt')) { + console.log('') } else { console.log(output.data) }