diff --git a/src/commands/CmdContext.cpp b/src/commands/CmdContext.cpp index ef4d1127f..ca0e25e35 100644 --- a/src/commands/CmdContext.cpp +++ b/src/commands/CmdContext.cpp @@ -225,12 +225,7 @@ void CmdContext::listContexts (std::stringstream& out) table.add ("Name"); table.add ("Definition"); table.add ("Active"); - - if (context.color ()) - { - Color label (context.config.get ("color.label")); - table.colorHeader (label); - } + setHeaderUnderline (table); std::string activeContext = context.config.get ("context");