From 14463227450e6e748f74dcd78675f761091d02b7 Mon Sep 17 00:00:00 2001 From: mollusk Date: Tue, 20 Jun 2017 02:11:52 -0700 Subject: [PATCH] Added: created input function to take user input for choices --- lib/io-extra.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/io-extra.jl b/lib/io-extra.jl index e69de29..3fb12ae 100644 --- a/lib/io-extra.jl +++ b/lib/io-extra.jl @@ -0,0 +1,4 @@ +function input(prompt::String="")::String + print(prompt) + return chomp(readline()) +end \ No newline at end of file