Fixed middle part background when no left side is present
This commit is contained in:
parent
6cd023a0fe
commit
59903d01aa
1 changed files with 4 additions and 1 deletions
5
spp.pl
5
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};
|
||||
|
|
Loading…
Reference in a new issue