X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fconsole.pl;h=d98b95f8f18b5ef93b84ca8ee740193586d15820;hb=refs%2Fheads%2Fip_address;hp=d04a7279bd585f9450a7e2fb1094c94018823461;hpb=53a861da3eddfa28b6c451d27dade222c7573728;p=spider.git diff --git a/perl/console.pl b/perl/console.pl index d04a7279..d98b95f8 100755 --- a/perl/console.pl +++ b/perl/console.pl @@ -10,7 +10,7 @@ # # Copyright (c) 1999 Dirk Koopman G1TLH # -# $Id$ +# # require 5.004; @@ -230,7 +230,7 @@ sub addtotop if ($inbuf =~ s/\x07+$//) { beep(); } - if (length $inbuf > $cols) { + if (length $inbuf >= $cols) { $Text::Wrap::Columns = $cols; push @shistory, wrap('',"\t", $inbuf); } else {