From 9b5864884b73d85aeae785ddae44ea3f92641d57 Mon Sep 17 00:00:00 2001 From: Sukera <11753998+Seelengrab@users.noreply.github.com> Date: Thu, 23 Aug 2018 12:01:59 +0200 Subject: [PATCH] Added seekstart to getpass in base/util.jl (#28828) (#28832) --- base/util.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/util.jl b/base/util.jl index e3423491aa84d..80c790770af74 100644 --- a/base/util.jl +++ b/base/util.jl @@ -476,7 +476,7 @@ function getpass(input::TTY, output::IO, prompt::AbstractString) write(s, c) end end - return s + return seekstart(s) end else function getpass(input::TTY, output::IO, prompt::AbstractString)