diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-11 08:35:40 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-11 08:35:40 +0100 |
commit | 20c8859cafec934fdca7fe8229200ab637a47ca2 (patch) | |
tree | 05a9aecfdf01fee1154692b5411f8272754555c9 /bin | |
parent | 20e896f5b73c9bc4cc40ef9bf0428a4d17cf1ee8 (diff) |
clean up output a bit
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hafas | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -295,7 +295,7 @@ for my $res ( @{ $hafas->{results} } ) { } printf( - "# %02d:%02d %s %s\n", + "%02d:%02d %s %s\n", $res->duration->in_units( 'hours', 'minutes' ), display_occupancies( $res->load ), $glance ); @@ -314,7 +314,7 @@ for my $res ( @{ $hafas->{results} } ) { for my $sec ( $res->sections ) { if ( $sec->type eq 'JNY' ) { - printf( "%s → %s\n", $sec->name, $sec->direction ); + printf( "\033[1m%s\033[0m → %s\n", $sec->name, $sec->direction ); printf( "%-5s %-${have_delay}s ab %s\n", $sec->dep_datetime->strftime('%H:%M'), |