Add a dim= style attribute to dim the colours (as best as tmux is able

to). GitHub issue 4842.
This commit is contained in:
nicm
2026-06-18 09:59:55 +00:00
parent b1b184cdb8
commit d92a479d2f
11 changed files with 115 additions and 16 deletions

View File

@@ -1006,7 +1006,7 @@ format_cb_pane_fg(struct format_tree *ft)
if (wp == NULL)
return (NULL);
tty_default_colours(&gc, wp);
tty_default_colours(&gc, wp, NULL);
return (xstrdup(colour_tostring(gc.fg)));
}
@@ -1043,7 +1043,7 @@ format_cb_pane_bg(struct format_tree *ft)
if (wp == NULL)
return (NULL);
tty_default_colours(&gc, wp);
tty_default_colours(&gc, wp, NULL);
return (xstrdup(colour_tostring(gc.bg)));
}