diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/aseag-m | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/bin/aseag-m b/bin/aseag-m index 0051403..80eb50f 100755 --- a/bin/aseag-m +++ b/bin/aseag-m @@ -179,13 +179,17 @@ sub show_results { my ( @line, @route ); if ( $edata{route_full} ) { - @route = ( $d->route_pre, $d->route_post ); + @route = ( + show_route( $dt_now, $dt_format, $d->route_pre ), + [ ' - - - -', q{}, q{}, q{} ], + show_route( $dt_now, $dt_format, $d->route_post ) + ); } elsif ( $edata{route_after} ) { - @route = $d->route_post; + @route = show_route( $dt_now, $dt_format, $d->route_post ); } elsif ( $edata{route_before} ) { - @route = $d->route_pre; + @route = show_route( $dt_now, $dt_format, $d->route_pre ); } if ( $edata{relative_times} ) { @@ -196,14 +200,13 @@ sub show_results { $d->line, q{}, $d->destination, - [ show_route( $dt_now, $dt_format, @route ) ], + \@route, ); } else { @line = ( $d->datetime->strftime($strftime_format), - $d->line, q{}, $d->destination, - [ show_route( $dt_now, $dt_format, @route ) ], + $d->line, q{}, $d->destination, \@route, ); } |