Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 4bc7804d83
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.294 kB
#!/usr/bin/perl
use Term::Shelly;
$sh = Term::Shelly->new();
$time = time();
$end = time() + 15;
$count = 0;
while (1) {
$sh->do_one_loop();
if ($time < time()) {
$count++;
$time = time();
$sh->prompt(sprintf("Download: %.2f", $count / 15) . "% >");
exit if ($time == $end);
}
}
Jump to Line
Something went wrong with that request. Please try again.