summaryrefslogtreecommitdiffstats
path: root/screen-redraw.c
diff options
context:
space:
mode:
authornicm <nicm>2021-10-26 12:22:23 +0000
committernicm <nicm>2021-10-26 12:22:23 +0000
commit5745bd27fdfd0e806fb3f734966f66f302c76c48 (patch)
tree1c5081834d49e7821dd06ee8174dcab18cff4724 /screen-redraw.c
parent197a116f5a2146309c4c6fecbd9d08d36f2be750 (diff)
Do not allow inline styles to replace mode-style for the selected item,
from Alexis Hildebrandt in GitHub issue 2946.
Diffstat (limited to 'screen-redraw.c')
-rw-r--r--screen-redraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen-redraw.c b/screen-redraw.c
index 11900b4f..0326c12d 100644
--- a/screen-redraw.c
+++ b/screen-redraw.c
@@ -400,7 +400,7 @@ screen_redraw_make_pane_status(struct client *c, struct window_pane *wp,
gc.attr &= ~GRID_ATTR_CHARSET;
screen_write_cursormove(&ctx, 0, 0, 0);
- format_draw(&ctx, &gc, width, expanded, NULL);
+ format_draw(&ctx, &gc, width, expanded, NULL, 0);
screen_write_stop(&ctx);
free(expanded);