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

@@ -1212,7 +1212,7 @@ screen_redraw_draw_pane(struct screen_redraw_ctx *ctx, struct window_pane *wp)
}
/* Set up the default style. */
tty_default_colours(&defaults, wp);
tty_default_colours(&defaults, wp, &style_ctx.dim);
style_ctx.defaults = &defaults;
style_ctx.palette = palette;
style_ctx.hyperlinks = s->hyperlinks;