Remove extra spaces with --powerline-right

This commit is contained in:
Matt McCormick 2016-08-02 18:41:13 -04:00
parent 1b11c308ac
commit 13c3205ec0
2 changed files with 2 additions and 2 deletions

@ -40,6 +40,7 @@ std::string mem_string( const MemoryStatus & mem_status,
if( use_powerline_right ) if( use_powerline_right )
{ {
powerline( oss, mem_lut[color], POWERLINE_RIGHT ); powerline( oss, mem_lut[color], POWERLINE_RIGHT );
oss << ' ';
} }
else if( use_powerline_left ) else if( use_powerline_left )
{ {

@ -62,8 +62,7 @@ void powerline( std::ostringstream & oss, const char color[],
oss << ' ' oss << ' '
<< bg2fg( color ) << bg2fg( color )
<< PWL_RIGHT_FILLED << PWL_RIGHT_FILLED
<< color << color;
<< ' ';
break; break;
}; };
} }