mirror of
https://github.com/thewtex/tmux-mem-cpu-load.git
synced 2026-09-10 07:16:16 -04:00
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 )
|
||||
{
|
||||
powerline( oss, mem_lut[color], POWERLINE_RIGHT );
|
||||
oss << ' ';
|
||||
}
|
||||
else if( use_powerline_left )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -62,8 +62,7 @@ void powerline( std::ostringstream & oss, const char color[],
|
|||
oss << ' '
|
||||
<< bg2fg( color )
|
||||
<< PWL_RIGHT_FILLED
|
||||
<< color
|
||||
<< ' ';
|
||||
<< color;
|
||||
break;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue