Remove extra spaces with --powerline-right
This commit is contained in:
parent
1b11c308ac
commit
13c3205ec0
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user