mirror of
https://github.com/thewtex/tmux-mem-cpu-load.git
synced 2026-09-10 07:16:16 -04:00
Handle empty powerline direction
This commit is contained in:
parent
ab991091be
commit
11b856c72d
|
|
@ -74,6 +74,8 @@ void powerline_char( std::ostringstream & oss, const char dynamic_color[],
|
|||
sprintf(write_color, "%d", static_color);
|
||||
switch( direction )
|
||||
{
|
||||
case NONE:
|
||||
break;
|
||||
case POWERLINE_LEFT:
|
||||
if ( eol )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue