From 6278e3640599ff36b735b7094b1467709de937a5 Mon Sep 17 00:00:00 2001 From: Ian Date: Thu, 15 Apr 2021 22:46:09 -0400 Subject: [PATCH] fix kwargs forwarding --- base/util.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/util.jl b/base/util.jl index 090a6edf7310f..0105c9daaed00 100644 --- a/base/util.jl +++ b/base/util.jl @@ -349,7 +349,7 @@ end # allow new prompt methods to be defined if stdin has been # redirected to some custom stream, e.g. in IJulia. -prompt(message::AbstractString; default::AbstractString="",timeout::Union{Nothing, Real} = nothing) = prompt(stdin, stdout, message, default=default, timeout=timeout) +prompt(message::AbstractString; kwargs...) = prompt(stdin, stdout, message; kwargs...) # Windows authentication prompt if Sys.iswindows()