X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=051332b03b75c8f85ff9e32d75dbe23755a25f0d;hb=942a06f9a573659489eb4a9185b73c4296cd31fd;hp=cd37c5e93c5833638491871427f7f92bba832941;hpb=bf70ca01121eabfc655ce899ebd14b1d31d1047f;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index cd37c5e9..051332b0 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -996,10 +996,11 @@ sub format_dx_spot my $t = ztime($_[2]); my $loc = ''; - my $clth = 30 + $self->{width} - 80; # allow comment to grow according the screen width + my $clth = 31 + $self->{width} - 80; # allow comment to grow according the screen width # --$clth if $self->{consort} eq 'local'; my $comment = substr (($_[3] || ''), 0, $clth); + $comment =~ s/\t/ /g; $comment .= ' ' x ($clth - (length($comment))); if ($self->{user}->wantgrid) {