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
  • Loading branch information
Seelengrab authored and staticfloat committed Aug 24, 2018
1 parent 4e1a138 commit 9b58648
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 9b58648

Please sign in to comment.