add width changing dx display in console
[spider.git] / perl / DXCommandmode.pm
index bcf1bf075b9beda9f40279bb70b59fbcf4f5e008..cd37c5e93c5833638491871427f7f92bba832941 100644 (file)
@@ -996,7 +996,7 @@ sub format_dx_spot
 
        my $t = ztime($_[2]);
        my $loc = '';
-       my $clth = 30;
+       my $clth = 30 + $self->{width} - 80;    # allow comment to grow according the screen width 
        #       --$clth if $self->{consort} eq 'local';
        
        my $comment = substr (($_[3] || ''), 0, $clth);