Properly set color of the state line 'border'

master
Andrzej Rybczak 9 years ago
parent 55d2f4c70d
commit ad869df626
  1. 7
      src/status.cpp

@ -737,11 +737,16 @@ void Status::Changes::flags()
if (!switch_state.empty()) if (!switch_state.empty())
*wHeader << NC::XY(COLS-switch_state.length()-3, 1) *wHeader << NC::XY(COLS-switch_state.length()-3, 1)
<< Config.state_line_color
<< "[" << "["
<< NC::FormattedColor::End(Config.state_line_color)
<< Config.state_flags_color << Config.state_flags_color
<< switch_state << switch_state
<< NC::FormattedColor::End(Config.state_flags_color) << NC::FormattedColor::End(Config.state_flags_color)
<< "]"; << Config.state_line_color
<< "]"
<< NC::FormattedColor::End(Config.state_line_color);
break; break;
case Design::Alternative: case Design::Alternative:
switch_state += '['; switch_state += '[';

Loading…
Cancel
Save