prefix each output line with a pipe symbol - easier to see things

This commit is contained in:
whosit 2024-12-09 20:39:51 +03:00
parent e42862a9b0
commit af2f0939da

View File

@ -173,6 +173,7 @@ core.register_chatcommand("eval",
-- Creating a coroutine here, instead of using xpcall,
-- allows us to get a clean stack trace up to this call.
local res = helper(coroutine.resume(coro))
res = string.gsub(res, "([^\n]+)", "| %1")
return ok, res
end
}