User/Console Input (read, readline, input)

,

not JuliaLTS, but in Julia 1.8.0 from the VS Code repl it seems to work OK:

julia> input(prompt::AbstractString=": ")  = begin print(prompt); return readline(); end
input (generic function with 2 methods)

julia> myname = input("Enter your name: ")
Enter your name: Mickey Mouse
"Mickey Mouse"

julia> println(myname)
Mickey Mouse
1 Like