From aec403e84cbf1c0bbb5d247bcee84aa1305fb124 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 6 Mar 2010 11:42:59 +0000 Subject: don't go up to column 80, until we ask Term::Cap properly for what's going on. --- usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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 # @@ -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; } -- cgit v1.2.3