Did not mean to commit this bit.

pull/2195/head
Nicholas Marriott 2020-04-29 15:27:38 +01:00
parent 04033add19
commit a9743fa047
1 changed files with 1 additions and 4 deletions

5
menu.c
View File

@ -150,11 +150,8 @@ menu_draw_cb(struct client *c, __unused struct screen_redraw_ctx *ctx0)
struct screen_write_ctx ctx;
u_int i, px = md->px, py = md->py;
struct grid_cell gc;
struct format_tree *ft;
ft = format_create_from_state(md->item, c, &md->fs);
style_apply(&gc, c->session->curw->window->options, "mode-style", ft);
format_free(ft);
style_apply(&gc, c->session->curw->window->options, "mode-style", NULL);
screen_write_start(&ctx, NULL, s);
screen_write_clearscreen(&ctx, 8);