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.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/clients/cave/colour_formatter.cc b/src/clients/cave/colour_formatter.cc
index 75992c5c2..ed0c14a3e 100644
--- a/src/clients/cave/colour_formatter.cc
+++ b/src/clients/cave/colour_formatter.cc
@@ -108,6 +108,12 @@ 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)));
+}
+
+std::string
ColourFormatter::format(const PackageID & s, const format::Plain &) const
{
return fuc(fs_format_package_id_plain(), fv<'s'>(stringify(s)));