aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_display_resolution-fmt.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_display_resolution-fmt.hh')
-rw-r--r--src/clients/cave/cmd_display_resolution-fmt.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_display_resolution-fmt.hh b/src/clients/cave/cmd_display_resolution-fmt.hh
index 55d5375d6..36a4737a5 100644
--- a/src/clients/cave/cmd_display_resolution-fmt.hh
+++ b/src/clients/cave/cmd_display_resolution-fmt.hh
@@ -121,8 +121,10 @@ const auto fs_mask_by_valueless = make_format_string_fetcher("display-resolution
const auto fs_mask_by_repo_line = make_format_string_fetcher("display-resolution/mask_by_repo_line", 1)
<< param<'i'>() << param<'s'>() << "\\n";
-const auto fs_masked_by = make_format_string_fetcher("display-resolution/masked_by", 1)
- << param<'i'>() << param<'c'>() << "Masked by " << c::normal() << param<'d'>() << "\\n";
+const auto fs_masked_by = make_format_string_fetcher("display-resolution/masked_by", 2)
+ << param<'i'>() << param<'c'>() << "Masked by " << c::normal() << param<'d'>()
+ << param_if<'t'>() << c::blue_or_pink() << " [" << param<'t'>() << "]" << c::normal() << param_endif<'t'>()
+ << "\\n";
const auto fs_masked_by_explanation = make_format_string_fetcher("display-resolution/masked_by_explanation", 1)
<< param<'i'>() << param<'c'>() << "Masked by " << c::normal() << param<'d'>() << " (" << param<'x'>() << ")" << "\\n";