Added neater function for color printing
This commit is contained in:
parent
771070efbe
commit
c2dffe0d0a
@ -2,3 +2,8 @@ function input(prompt::AbstractString="")
|
|||||||
print(prompt)
|
print(prompt)
|
||||||
return chomp(readline())
|
return chomp(readline())
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function printc(color, message::AbstractString="")
|
||||||
|
print_with_color(color, message)
|
||||||
|
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user