1
0
mirror of https://github.com/kepler155c/opus synced 2025-12-17 21:58:06 +00:00

rename debug function

This commit is contained in:
kepler155c@gmail.com
2018-10-31 00:05:29 -04:00
parent 9484153f38
commit 846569952c
5 changed files with 11 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ local focusedRoutineEvents = Util.transpose {
'paste', 'terminate',
}
_G.debug = function(pattern, ...)
_G._debug = function(pattern, ...)
local oldTerm = term.redirect(kernel.window)
Util.print(pattern, ...)
term.redirect(oldTerm)