Skip to content

Commit

Permalink
Added seekstart to getpass in base/util.jl (#28828) (#28832)
Browse files Browse the repository at this point in the history
(cherry picked from commit b6756c5)
  • Loading branch information
Seelengrab authored and KristofferC committed Feb 11, 2019
1 parent 6467474 commit dfd4689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dfd4689

Please sign in to comment.