From 59903d01aacbc0e63957930e374b11611edb37c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Mon, 19 Oct 2020 21:44:48 +0200 Subject: [PATCH] Fixed middle part background when no left side is present --- spp.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spp.pl b/spp.pl index 2219dda..e04fdc6 100644 --- a/spp.pl +++ b/spp.pl @@ -350,7 +350,10 @@ sub gen_top_line if ( defined $midGen ) { @middle = ( gen_prompt_section( $midGen ) ); if ( @middle ) { - @lm = gen_transition( $THEME{middle_prefix} , $mc , $mc ); + @lm = ( + gen_transition( $THEME{middle_prefix} , $mc , $mc ) , + { bg => $THEME{bg_middle} } , + ); @mr = gen_transition( $THEME{middle_suffix} , $mc , $mc ); foreach my $entry ( @middle ) { delete $entry->{bg};