aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/colour_formatter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/colour_formatter.cc')
-rw-r--r--src/clients/cave/colour_formatter.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clients/cave/colour_formatter.cc b/src/clients/cave/colour_formatter.cc
index ed0c14a3e..4da25e175 100644
--- a/src/clients/cave/colour_formatter.cc
+++ b/src/clients/cave/colour_formatter.cc
@@ -110,7 +110,8 @@ ColourFormatter::format(const std::string & s, const format::Plain &) const
std::string
ColourFormatter::format(const std::pair<const std::string, std::string> & s, const format::Plain &) const
{
- return fuc(fs_format_string_string_plain(), fv<'k'>(stringify(s.first)), fv<'v'>(stringify(s.second)));
+ return fuc(fs_format_string_string_plain(), fv<'k'>(stringify(s.first)), fv<'v'>(stringify(s.second)),
+ fv<'e'>(s.first.empty() ? "" : "="));
}
std::string