Posted 25 December 2012 - 06:00 AM
I know it's easy to do for yourself,
but maybe it would be better if included by default.
If my suggestion is not clear,
what I mean is something like:
write(string, textColor, backgroundColor)
print(string, textColor, backgroundColor)
I used this to get the same result:
but maybe it would be better if included by default.
If my suggestion is not clear,
what I mean is something like:
write(string, textColor, backgroundColor)
print(string, textColor, backgroundColor)
I used this to get the same result:
function write(s,color,bgcolor)
local color = color or colors.white
local bgcolor = bgcolor or colors.black
term.setTextColor(color)
term.setBackgroundColor(bgcolor)
term.write(s)
term.setTextColor(colors.white)
term.setBackgroundColor(colors.black)
end