Do not allow inline styles to replace mode-style for the selected item,

from Alexis Hildebrandt in GitHub issue 2946.
This commit is contained in:
nicm
2021-10-26 12:22:23 +00:00
parent 197a116f5a
commit 5745bd27fd
5 changed files with 15 additions and 8 deletions

View File

@ -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);