Skip to content

Commit

Permalink
bump version to 1.2 and add minute to countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
xorond committed Oct 1, 2016
1 parent 547de6d commit 86ac6a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions passtrust
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def blue(text); colorize(text, 34); end

$options = OpenStruct.new
# default options
$version = 1.1
$version = 1.2
$options.verify = false
$options.length = 16
$options.timeout = 10
Expand Down Expand Up @@ -78,7 +78,7 @@ def print_password(word)

t = Time.new(0)
timeout.downto(0) do |seconds|
print "\rThe screen will clear in #{(t + seconds).strftime('%S')} seconds."
print "\rThe screen will clear in #{(t + seconds).strftime('%M:%S')} seconds."
sleep 1
end

Expand Down

0 comments on commit 86ac6a4

Please sign in to comment.