diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2010-03-06 11:42:59 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2010-03-06 11:42:59 +0000 |
commit | aec403e84cbf1c0bbb5d247bcee84aa1305fb124 (patch) | |
tree | 2c96d039b10f78a62dd583a8a44f34a4df295e51 /usr.sbin | |
parent | cb2376921908c52b93f54331aeae451201544ab1 (diff) |
don't go up to column 80, until we ask Term::Cap properly for what's going
on.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm b/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm index 7b0ac0ec239..9743950badd 100644 --- a/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm +++ b/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: ProgressMeter.pm,v 1.27 2009/12/21 10:38:58 espie Exp $ +# $OpenBSD: ProgressMeter.pm,v 1.28 2010/03/06 11:42:58 espie Exp $ # # Copyright (c) 2004-2007 Marc Espie <espie@openbsd.org> # @@ -63,7 +63,7 @@ sub compute_playfield { return unless $isatty; # compute playfield - $playfield = $width - length($header) - 7; + $playfield = $width - length($header) - 8; if ($playfield < 5) { $playfield = 0; } |