From c2dffe0d0a41f3d005283eaa5836640d1a2b8424 Mon Sep 17 00:00:00 2001 From: mollusk Date: Tue, 15 Aug 2017 05:23:05 -0700 Subject: [PATCH] Added neater function for color printing --- lib/io-extra.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/io-extra.jl b/lib/io-extra.jl index 03dee59..2c435f2 100644 --- a/lib/io-extra.jl +++ b/lib/io-extra.jl @@ -1,4 +1,9 @@ function input(prompt::AbstractString="") print(prompt) return chomp(readline()) +end + +function printc(color, message::AbstractString="") + print_with_color(color, message) + end \ No newline at end of file